Naruto learned that he is one of the Sannin and the one who attacked the village, first meeting Orochimaru officially while trying to help Tsunade.
Before watching him defeat Kabuto, Orochimaru viewed Naruto as no threat to him until realising his potential and tried to kill him.