[Samba] Users can't login on Samba+Ldap

Miguel Medalha miguelmedalha at sapo.pt
Tue May 19 17:57:50 GMT 2009

Did you install libnss-ldap and libpam-ldap? You need those.

Also, in /etc/nsswitch.conf:

passwd: files ldap
shadow: files ldap
group: files ldap

I found that Samba works better with the "ldpasam:trusted = yes"  
parameter. In this case, your LDAP database MUST contain the entire 
POSIX account information.

More information about the samba mailing list