[Samba] samba2.2.2+openldap

jan
Tue, 05 Mar 2002 08:25:19 -0000

Shekhar wrote:

>I have setup samba2.2.2+openldap using idealx's howto.
>I have added one user shon using 'smbldap-useradd.pl -a shon'
>then I changed th passwd using smbldap-passwd shon'
>
>But when I try  to access the smb server it can not authenticate user shon
>and says foll in log. [sama thing happened with 2.2.3]
>
>[2002/03/04 15:14:13, 0] passdb/pdb_ldap.c:ldap_search_one_user(178)
>  ldap_search_one_user: Problem during the LDAP search: No such object
>[2002/03/04 15:14:13, 3] passdb/pdb_ldap.c:ldap_search_one_user(180)
>  ldap_search_one_user: Query was: ,
(&(uid=shon)(objectclass=sambaAccount))
>[2002/03/04 15:14:13, 1] smbd/password.c:pass_check_smb(546)
>  Couldn't find user 'shon' in passdb.
>[2002/03/04 15:14:13, 1] smbd/reply.c:reply_sesssetup_and_X(995)
>  Rejecting user 'shon': authentication failed
>
>TIA
>
>Shekhar
>
hi,

Are you able to ldapsearch your user ? Can you see him/her in your
ldap-browser ldap://localhost/o=ldaptest,c=br/??sub (Netscape 4.7x)

How did you compile samba --with-ldapsam ? What kind of Platform do you
have ?

best regards,

Jan