The connection between Obito and Kakashi is essentially the same relationship between Naruto and Sasuke and the same as between Jiraiya and Orochimaru. Obito was Kakashi's teammate and he was pretty much Naruto (i.e. he was the class clown who aspired to be the Hokage and be better than the class genius: Kakashi).