[Samba] Re: Samba3.0.1pre3 LDAP Login problem

paul k paul at subsignal.org
Sun Dec 7 12:20:51 GMT 2003


Charles Hamel wrote:

> Now goes the SAMBA log :
> 
> [2003/12/06 00:37:23, 4] auth/auth_sam.c:sam_password_ok(224)
>   sam_password_ok: Checking NT MD4 password
> [2003/12/06 00:37:23, 4] auth/auth_sam.c:sam_account_ok(325)
>   sam_account_ok: Checking SMB password for user ADMINAM
> [2003/12/06 00:37:23, 1] auth/auth_util.c:make_server_info_sam(821)
>   User ADMINAM in passdb, but getpwnam() fails!

I'm quite sure the error is here. Check with getent passwd  and 
ldapsearch if your nss_ldap setup is correct and if you can get entries 
from LDAP.

> 
> nsswitch.conf is passwd/group/shadow are set to : files ldap
Thats usually fine. ACL's in slapd.conf might be another issue.

hth
  Paul
> 
> I think this is all, thank you for your help and thanks to the samba 
> team for writing such a useful software!
> 
> Charles Hamel
> hamelc at videotron.ca
> 




More information about the samba mailing list