@fBoyle-- Ketoconazole works for most people. If you have dandruff, you should give it a try. Many dandruff shampoos contain ketoconazole these days. Dandruff can have different causes but fungi is a main cause.
I had dandruff for a very long time. I tried most anti-dandruff shampoos on the market. The only type that has worked for me is ketoconazole shampoo. The shampoo makes my hair and scalp a bit dry, but it's not a big deal.