[Samba] Problem using samba with ldap

Michael JOLY mickoum at gmail.com
Wed Oct 29 16:56:17 GMT 2008


I have solved my problem installing nss_ldap

Thans for your help Adam.

Best regards

Mick

2008/10/29 Michael JOLY <mickoum at gmail.com>

> The user is create in the ldap but when i try to connect to smb, i have the
> error.
>
> nss_ldap isn't install
>
> Sincerely yours
>
> Mick
>
> 2008/10/29 Adam Williams <awilliam at mdah.state.ms.us>
>
> 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