[Samba] Problem with ldap backend.

Javier Barroso javibarroso at gmail.com
Thu Dec 11 22:52:07 GMT 2008


On Tue, Dec 9, 2008 at 9:22 AM, BOURIAUD <david.bouriaud at ac-rouen.fr> wrote:
> Hello !
> Both of them seems to be setup correctly, since I can log in on the samba
> domain, but when I try to get an entry from the ldap database using the
> pdbedit command on luke, I get the following :
> smbldap_open_connection: connection opened
> ldap_connect_system: succesful connection to the LDAP server
> The LDAP server is succesfully connected
> init_sam_from_ldap: Entry found for user: david
> Unix username:        david
> NT username:          david
> Account Flags:        [UX         ]
> User SID:             S-1-5-21-215069222-2822928016-2390355089-3032
> init_group_from_ldap: Entry found for group: 666
> ldapsam_getsampwsid: Unable to locate SID
> [S-1-5-21-215069222-2822928016-2390355089-666] count=0
> init_group_from_ldap: Entry found for group: 666
> Primary Group SID:    S-1-5-21-215069222-2822928016-2390355089-666
> What can be wrong in my installation ?
Have you got the group S-1-5-21-215069222-2822928016-2390355089-666 in
your ldap ?

More information about the samba mailing list