[Samba] Re: ldap group authentication refresh

Arthur Odekerken odekerken at gmail.com
Mon Mar 9 21:21:27 GMT 2009


Hi,

nscd wasn't running on my machine.
After setting the option ldapsam:trusted = yes smbd doesn"t start any longer
I get the following error in /var/log/smbd.log:

[2009/03/09 22:01:31, 0] smbd/server.c:main(1063)
  ERROR: failed to setup guest info.

I did add a nobody account & group to my LDAP database with the following
DN's:

cn: nobody
uid: nobody
uidNumber: 999
gidNumber: 65533
homeDirectory: /dev/null
loginShell: /bin/false
gecos: samba guest domain account
description: samba guest domain account
objectClass: posixAccount
objectClass: sambaSamAccount
objectClass: inetOrgPerson
objectClass: shadowAccount
objectClass: organizationalPerson
objectClass: top
objectClass: person
sambaPwdLastSet: 0
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
sambaAcctFlags: [NU         ]
sambaPrimaryGroupSID: S-1-0-0
sn: nobody
sambaSID: S-1-5-21-2084689211-3812089025-2812341184-501
sambaDomainName: DOMAIN.TLD


objectClass: posixGroup
objectClass: sambaGroupMapping
cn: nobody
sambaGroupType: 2
displayName: nobody
gidNumber: 65533
sambaSID: S-1-0-0
memberUid: nobody
description: Domain Unix group

What am I doing wrong?

Thanks,
Arthur


More information about the samba mailing list