Created attachment 14080 [details]
Patch to auth.c
When the "allow trusted domains = no" option is set any connect attempt using credentials that specify the full domain name will fail. Using the short domain name, the machine name, or no domain works as expected.
I've attached a patch that also allows the use of the full domain name.