Question: are samurai and ninja enemies?
Answer: The idea that ninja and samurai were always enemies is mainly fiction. Ninja were a type of samurai, samurai who had additional training in spying, scouting, specops, etc., but they were still samurai, so this is asking if samurai rivaled samurai.