A.C.
If she has cradle cap outside her ears, too, I recommend taking her to a dermatologist. This sounds pretty severe.
If it's only in her ears, then I recommend an ENT doctor. You mentioned the doctor wasn't able to "fully open the passage", which implies to me that he couldn't see her eardrum.
I think that to really know what the problem is, they have to be able to see all the way down. ENTs have tiny suctions they can use to help clear debris.