Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

# smbclient -UAdministrator -Llocalhost
session setup failed: NT_STATUS_LOGON_FAILURE

Right now client can not connect to fileshare using ldap authentication.

Please help.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.