samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13545 - branches/SAMBA_3_0/source/passdb trunk/source

Subject: svn commit: samba r13545 - branches/SAMBA_3_0/source/passdb trunk/source/passdb
From:
Date: Fri, 17 Feb 2006 19:07:59 +0000 GMT
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

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13545 - branches/SAMBA_3_0/source/passdb trunk/source/passdb, jerry <=