r13679: Commiting the rm_primary_group.patch posted on samba-technical
authorGerald Carter <jerry@samba.org>
Fri, 24 Feb 2006 21:36:40 +0000 (21:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:23 +0000 (11:10 -0500)
commitd95e13e68f3c7ac517a45877b351849ef4a99b93
tree392a8d4445623c60746e444e148b2a4e12ebeaba
parent2b0277a1d6df176a90f895b9d0582db384fcc6a8
r13679: 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()
(This used to be commit bcf269e2ec6630b78d909010fabd3b69dd6dda84)
13 files changed:
source3/auth/auth_util.c
source3/include/passdb.h
source3/nsswitch/winbindd_cm.c
source3/nsswitch/winbindd_pam.c
source3/passdb/passdb.c
source3/passdb/pdb_compat.c
source3/passdb/pdb_get_set.c
source3/passdb/pdb_interface.c
source3/passdb/pdb_ldap.c
source3/passdb/pdb_smbpasswd.c
source3/passdb/pdb_tdb.c
source3/rpc_server/srv_samr_nt.c
source3/utils/pdbedit.c