r13679: Commiting the rm_primary_group.patch posted on samba-technical
commit0c0a59c2d67b9f0f808a3705722160caa209d9a1
authorGerald Carter <jerry@samba.org>
Fri, 24 Feb 2006 21:36:40 +0000 (24 21:36 +0000)
committerGerald Carter <jerry@samba.org>
Fri, 24 Feb 2006 21:36:40 +0000 (24 21:36 +0000)
tree6b17ffb65466f12a87a7f6151926b23c1ee07330
parentef630cfe9e465c0f807c9f734fa8f96c64b03a55
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()
13 files changed:
source/auth/auth_util.c
source/include/passdb.h
source/nsswitch/winbindd_cm.c
source/nsswitch/winbindd_pam.c
source/passdb/passdb.c
source/passdb/pdb_compat.c
source/passdb/pdb_get_set.c
source/passdb/pdb_interface.c
source/passdb/pdb_ldap.c
source/passdb/pdb_smbpasswd.c
source/passdb/pdb_tdb.c
source/rpc_server/srv_samr_nt.c
source/utils/pdbedit.c