I am using ubuntu server 12.04 and samba4 to comunicate with Windows client. Everything is fine until I have to reboot my server.
On first reboot bind9 fails to start. After remove and reinstall bind9 is sucessfully started, but ldap authentication still not working.
Here are the results from running testparm and smbclient:
# testparm Load smb config files from /usr/local/samba/etc/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[netlogon]" Processing section "[sysvol]" Processing section "[fileshare]" Processing section "[redirect]" Loaded services file OK. Server role: ROLE_ACTIVE_DIRECTORY_DC # smbclient -UAdministrator -Llocalhost session setup failed: NT_STATUS_LOGON_FAILURE
Right now client can not connect to fileshare using ldap authentication.