svn commit: samba r13679 - branches/SAMBA_3_0/source/auth branches/SAMBA_3_0/source/include branches/SAMBA_3_0/source/nsswitch branches/SAMBA_3_0/source/passdb branches/SAMBA_3_0/source/rpc_server branches/SAMBA_3_0/source/utils trunk/source/auth trunk/source/include trunk/source/nsswitch trunk/source/passdb trunk/source/rpc_server trunk/source/utils

jerry at samba.org jerry at samba.org
Fri Feb 24 21:36:45 GMT 2006


Author: jerry
Date: 2006-02-24 21:36:40 +0000 (Fri, 24 Feb 2006)
New Revision: 13679

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13679

Log:
Commiting the rm_primary_group.patch posted on samba-technical

* ignore the primary group SID attribute from struct samu*
* generate the primary group SID strictlky from the Unix 
  primary group when dealing with passdb users
* Fix memory leak in original patch caused by failing to free a
  talloc *
* add wrapper around samu_set_unix() to prevent exposing the create
  BOOL to callers.  Wrappers are samu_set_unix() and samu-allic_rid_unix()


Modified:
   branches/SAMBA_3_0/source/auth/auth_util.c
   branches/SAMBA_3_0/source/include/passdb.h
   branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c
   branches/SAMBA_3_0/source/passdb/passdb.c
   branches/SAMBA_3_0/source/passdb/pdb_compat.c
   branches/SAMBA_3_0/source/passdb/pdb_get_set.c
   branches/SAMBA_3_0/source/passdb/pdb_interface.c
   branches/SAMBA_3_0/source/passdb/pdb_ldap.c
   branches/SAMBA_3_0/source/passdb/pdb_smbpasswd.c
   branches/SAMBA_3_0/source/passdb/pdb_tdb.c
   branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c
   branches/SAMBA_3_0/source/utils/pdbedit.c
   trunk/source/auth/auth_util.c
   trunk/source/include/passdb.h
   trunk/source/nsswitch/winbindd_cm.c
   trunk/source/nsswitch/winbindd_pam.c
   trunk/source/passdb/passdb.c
   trunk/source/passdb/pdb_compat.c
   trunk/source/passdb/pdb_get_set.c
   trunk/source/passdb/pdb_interface.c
   trunk/source/passdb/pdb_ldap.c
   trunk/source/passdb/pdb_smbpasswd.c
   trunk/source/passdb/pdb_tdb.c
   trunk/source/rpc_server/srv_samr_nt.c
   trunk/source/utils/pdbedit.c


Changeset:
Sorry, the patch is too large (2407 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13679


More information about the samba-cvs mailing list