[Samba] samba3/ldap/net groupmap fails

=?GB2312?Q?=D5=D4=D3=C0=C3=F7?= zhaoyongming at 3721.com
Fri Dec 12 08:15:25 GMT 2003


sambaHi:
	I have just get this a little. Mandrake cooker:samba 3.0.1rc1:openldap 2.1.23----just for test.
	hear is my smb.conf:


	log level = 1 passdb:10 auth:10 winbind:0

	ldap suffix = o=xxx
	ldap admin dn = cn=root,o=xxx
	#ldap server = 127.0.0.1
	#ldap port = 389
	ldap machine suffix = ou=Computer
	ldap user suffix = ou=People
	ldap group suffix = ou=Group
	#ldap idmap suffix = ou=People

	you also need to do a little ldap log analysis. SLAPDSYSLOGLEVEL=256 in /etc/sysconfig/ldap

	After i look deep into those log of ldap, i think there MUST exist an nobody(guest) UID GID. In you DEBUG log ,there is a UID of 4G-1, which I think it can't map to a real UID.

	as for me, user nobody: uidNumber=65534 gidNumber=65534,group nobody: gidNumber=65534

	http://www.unav.es/cti/ldap-smb/smb-ldap-3-howto.html
	good for refrence






More information about the samba mailing list