I cannot get LDAP + SAMBA working ... I changed all the important files, but it seems that Samba does not even contact LDAP server. Whenever I would like to use smbclient, it writes:
check_ntlm_password: Authentication for user [gigi] -> [gigi] FAILED with error NT_STATUS_NO_SUCH_USER
important changes pam.d
account required pam_unix.so
account sufficient pan_ldap.so
auth required pam_unix.so nullok_secure
auth sufficient pam_ldap.so use_first_pass
session required pam_unix.so
session optional pam_ldap.so
important changes nsswitch.conf
passwd: compat ldap
group: compat ldap
shadow: compat ldap
test directory, smb.conf:
[skuska]
public = no
path = /sbin
writable = no
read only = yes
guest ok = no
browseable = yes
valid users = gigi
I'm using tcpdump on ldap server, no connection is made by samba. Please help.
Thank you, Martin