1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/passdb
Gerald Carter 0ce53f8ba5 r14403: * modifies create_local_nt_token() to create a BUILTIN\Administrators
group IFF sid_to_gid(S-1-5-32-544) fails and 'winbind nested groups = yes'

* Add a SID domain to the group mapping enumeration passdb call
  to fix the checks for local and builtin groups.  The SID can be
  NULL if you want the old semantics for internal maintenance.
  I only updated the tdb group mapping code.

* remove any group mapping from the tdb that have a
  gid of -1 for better consistency with pdb_ldap.c.
  The fixes the problem with calling add_group_map() in
  the tdb code for unmapped groups which might have had
  a record present.

* Ensure that we distinguish between groups in the
  BUILTIN and local machine domains via getgrnam()
  Other wise BUILTIN\Administrators & SERVER\Administrators
  would resolve to the same gid.

* Doesn't strip the global_sam_name() from groups in the
  local machine's domain (this is required to work with
  'winbind default domain' code)

Still todo.

* Fix fallback Administrators membership for root and domain Admins
  if nested groups = no or winbindd is not running

* issues with "su - user -c 'groups'" command

* There are a few outstanding issues with BUILTIN\Users that
  Windows apparently tends to assume.  I worked around this
  presently with a manual group mapping but I do not think
  this is a good solution.  So I'll probably add some similar
  as I did for Administrators.
(This used to be commit 612979476a)
2007-10-10 11:15:28 -05:00
..
login_cache.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
lookup_sid.c r13791: Having S-1-1-0 show up in winbind lookupsid does not really make sense. 2007-10-10 11:10:54 -05:00
machine_sid.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
passdb.c r13776: Merge in the editposix ldapsam optimization 2007-10-10 11:10:53 -05:00
pdb_compat.c r13679: Commiting the rm_primary_group.patch posted on samba-technical 2007-10-10 11:10:23 -05:00
pdb_get_set.c r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16. 2007-10-10 11:10:25 -05:00
pdb_interface.c r14403: * modifies create_local_nt_token() to create a BUILTIN\Administrators 2007-10-10 11:15:28 -05:00
pdb_ldap.c r14403: * modifies create_local_nt_token() to create a BUILTIN\Administrators 2007-10-10 11:15:28 -05:00
pdb_nds.c r13693: More Solaris/LDAP fixes from Bjoern <bjoern@j3e.de> 2007-10-10 11:10:24 -05:00
pdb_plugin.c r13460: by popular demand.... 2007-10-10 11:10:04 -05:00
pdb_smbpasswd.c r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16. 2007-10-10 11:10:25 -05:00
pdb_tdb.c r13765: Fix bug reported by jra. Don't check for a group SID when storing 2007-10-10 11:10:53 -05:00
secrets.c r14103: Fix a memleak found by valgrind (!!) 2007-10-10 11:11:12 -05:00
util_builtin.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
util_unixsids.c r13571: Replace all calls to talloc_free() with thye TALLOC_FREE() 2007-10-10 11:10:14 -05:00
util_wellknown.c r13791: Having S-1-1-0 show up in winbind lookupsid does not really make sense. 2007-10-10 11:10:54 -05:00