[Samba] Problem using samba with ldap

Adam Williams awilliam at mdah.state.ms.us
Wed Oct 29 16:41:56 GMT 2008


do you have nss_ldap installed and working?

Michael JOLY wrote:
> Hello,
>
> I've just installed samba with ldap on a debian etch.
> I have a problem when i attempt to create a user with the command
> smbldap-useradd -a -P  -c "toto DUPONT" -u 1001 toto and to log in with it
> after.
> I obtain this error :
>
> [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
>   pdb_get_group_sid: Failed to find Unix account for toto
> [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
>   User toto in passdb, but getpwnam() fails!
> [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
>   check_sam_security: make_server_info_sam() failed with
> 'NT_STATUS_NO_SUCH_USER'
>
> The user is created in the ldap but not in /etc/passwd.
>
> Could someone help me ?
>
> Thanks
>
> Mick
>   


More information about the samba mailing list