Question about make_new_server_info_guest()

Gerald (Jerry) Carter jerry at samba.org
Thu Feb 9 22:30:07 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerald (Jerry) Carter wrote:
> Jeremy,
> 
> I see you change here to automap the guest account primary group.
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&rev=13045
> 
> But these still seems not to work unless the guest account
> itself is in the passdb itself due to the call to
> make_server_info_sam().
> 
> How did you work around this ?  Did you just manually run
> smbpasswd -a guest or is there some other trick?

Ahhh...ok.  The problem is that pdb_update_group_mapping_entry()
is failing to create the 'Domain Guests' mapping.  You tested
using a local passdb.  This is failing against LDAP samba since
the search fails.

	smbldap_search_ext: base => [dc=plainjoe,dc=org],
	filter => [(&(objectClass=sambaGroupMapping)
	(sambaSid=S-1-5-21-2547222302-1596225915-2414751004-514)
	(gidNumber=1000)(sambaGroupType=2))], scope => [2]


An update is find for group_mapping.tdb but LDAP needs an add.





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD68JvIR7qMdg1EfYRArJjAKCxfym2DMs5g8nBi0jdy0xxh0G3fACeLM2J
TR32ya9fNgyLlxqG1mbfBMw=
=ZQbO
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list