Commiting the rm_primary_group.patch posted on samba-technical
authorjerry <jerry@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Fri, 24 Feb 2006 21:36:40 +0000 (21:36 +0000)
committerjerry <jerry@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Fri, 24 Feb 2006 21:36:40 +0000 (21:36 +0000)
commit71d921d65c1655f4fac1a024cc7e8648ebd69da9
tree6b17ffb65466f12a87a7f6151926b23c1ee07330
parentd06552444dbb306281c31a8630cbb67fd805e559
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()

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@13679 0c0555d6-39d7-0310-84fc-f1cc0bd64818
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