svn commit: samba r13545 - branches/SAMBA_3_0/source/passdb
trunk/source/passdb
jerry at samba.org
jerry at samba.org
Fri Feb 17 19:07:59 GMT 2006
Author: jerry
Date: 2006-02-17 19:07:58 +0000 (Fri, 17 Feb 2006)
New Revision: 13545
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13545
Log:
A patch which I think it's time has come. VOlker, we can talk about
this more but it gets around the primary group issue.
* don't map a SID to a name from the group mapping code if
the map doesn't have a valid gid. This is only an issue
in a tdb setup
* Always allow S-1-$DOMAIN-513 to resolve (just like Windows)
* if we cannot resolve a users primary GID to a SID, then set
it to S-1-$DOMAIN-513
* Ignore the primary group SID inside pdb_enum_group_memberships().
Only look at the Unix group membersip.
Jeremy, this fixes a fresh install startup for smbd as far as my tests
are concerned.
Modified:
branches/SAMBA_3_0/source/passdb/passdb.c
branches/SAMBA_3_0/source/passdb/pdb_get_set.c
branches/SAMBA_3_0/source/passdb/pdb_interface.c
trunk/source/passdb/passdb.c
trunk/source/passdb/pdb_get_set.c
trunk/source/passdb/pdb_interface.c
Changeset:
Sorry, the patch is too large (353 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13545
More information about the samba-cvs
mailing list