Ali Baba, Dogan