0

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

1
  • I dunno why but it is contacting LDAP server now.
    – John
    Sep 21, 2010 at 11:33

1 Answer 1

0

Had you rebooted or restarted Samba or LDAP after the config changes? If not, the daemons wouldn't have read the changes to the config files yet, so were still running under the old config.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .