[Samba] Debugging Samba 4 AD Setup

Johannes Amorosa | Celluloid VFX johannesa at celluloid-vfx.com
Tue Mar 24 06:29:29 MDT 2015

We're using quite successfully a samba 4.1 AD setup authenticating user. 
We have on an unregular basis
mails that can't be delivered because dovecot-pam fails to verify the 
credentials. I'm trying to debug
this and set the loglevel up to 3.

I can see an error message being spammed in the log files and can't 
figure out what causes this. I expect a configuration error somewhere
although everything else seems to work. Can someone shed some light on 
this error.

Invalid domain! Expected name in domain [ourdomain.com]. But received 

I don't believe this has anything to do with the initial problem, but I 
would like to resolve this one aswell.
Thank you for your time.

Two identical servers with this samba.conf.

# Global parameters
     workgroup = OURDOMAIN
     realm = ourdomain.com
     netbios name = THE-AD-HOSTNAME
     netbios aliases = SOMETHINGELSE
     log level = 3

     server role = active directory domain controller
     dns forwarder =
     path = /var/lib/samba/sysvol/ourdomain.com/scripts
     read only = No

     path = /var/lib/samba/sysvol
     read only = No

Johannes Amorosa | Celluloid VFX

More information about the samba mailing list