Ok, don’t worry. After some chocolate cake I realized that the config files had just been moved around slightly and $config->realm was no longer set properly.
Sorry for the wasted post.
Very best regards
D