1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/passdb
Christian Ambach ad86e2a599 s3:passdb/pdb_util make pdb_create_builtin consider whether backend deals with BUILTIN
when creating a BUILTIN group, make the strategy dependent on passdb backend behavior
1. if passdb is responsible for BUILTIN (normal case), call pdb_create_builtin_alias with gid=0 argument
so it asks winbindd for a gid to be used
2. if passdb is not responsible, ask for a mapping for the group first and let pdb_create_builtin_alias
create the mapping based on the gid that was determined in the mapping request

Pair-Programmed-With: Michael Adam <obnox@samba.org>

Signed-off-by: Christian Ambach <ambi@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Jun 21 12:49:10 CEST 2013 on sn-devel-104
2013-06-21 12:49:10 +02:00
..
ABI s3:passdb add a gid argument to pdb_create_builtin_alias 2013-06-21 10:44:24 +02:00
account_pol.c dbwrap: dbwrap_trans_store_uint32->dbwrap_trans_store_uint32_bystring 2012-06-15 14:19:57 +02:00
login_cache.c tdb_compat: Higher level API fixes. 2011-06-20 11:18:35 +02:00
lookup_sid.c s3:passdb: don't look into group mappings in legacy_sid_to_unixid() 2012-12-03 08:48:31 +01:00
lookup_sid.h s3:passdb: remove a forward declaration of wbcSidToUnixId that has become unnecessary 2012-05-02 13:17:54 +02:00
machine_account_secrets.c passdb-machine_account_secrets: Remove #if SAMBA_BUILD_ == 4 now we only have the waf build 2013-05-28 12:17:12 +10:00
machine_sid.c s3:passdb formatting changes 2012-09-27 04:36:52 +02:00
machine_sid.h s3: rename sid_check_is_in_our_domain() to sid_check_is_in_our_sam() 2012-07-12 18:36:02 +02:00
passdb.c s3: rename sid_check_is_in_our_domain() to sid_check_is_in_our_sam() 2012-07-12 18:36:02 +02:00
pdb_compat.c s3-passdb: add passdb.h where needed. 2011-03-30 01:13:07 +02:00
pdb_get_set.c s3-passdb: Remove unused sampass->pass_must_change_time 2012-04-19 12:34:33 +02:00
pdb_interface.c s3:passdb make pdb_sid_to_id honor backend responsibilities 2013-06-21 10:44:21 +02:00
pdb_ipa.c passdb-machine_account_secrets: Remove #if SAMBA_BUILD_ == 4 now we only have the waf build 2013-05-28 12:17:12 +10:00
pdb_ipa.h s3-passdb: split out passdb/pdb_ipa.h. 2011-10-11 12:15:36 +02:00
pdb_ldap_schema.c s3-passdb: Remove obsolte ldapsam_compat support. 2012-07-03 21:56:49 +02:00
pdb_ldap_schema.h s3-passdb: Remove obsolte ldapsam_compat support. 2012-07-03 21:56:49 +02:00
pdb_ldap_util.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
pdb_ldap_util.h s3: move smbldap_util to pdb_ldap_util. 2011-11-16 12:26:26 +01:00
pdb_ldap.c s3:passdb/pdb_ldap remove an unnecessary check 2013-06-21 10:44:22 +02:00
pdb_ldap.h Rename pdb_ldap to pdb_ldapsam 2013-02-06 11:51:11 +01:00
pdb_nds.c Rename pdb_ldap to pdb_ldapsam 2013-02-06 11:51:11 +01:00
pdb_nds.h s3-passdb: split out passdb/pdb_nds.h. 2011-10-11 10:41:29 +02:00
pdb_samba_dsdb.c s3:passdb/pdb_samba_dsdb make the module handle well-known 2013-06-21 10:44:20 +02:00
pdb_secrets.c s3-passdb: wrap secrets.tdb accessors used by PDB modules 2012-09-07 12:31:42 +02:00
pdb_secrets.h s3-passdb: trying to decouple passdb and secrets a little. 2012-01-18 14:46:18 +01:00
pdb_smbpasswd.c pdb: Fix array overrun by one. 2013-02-22 16:36:13 +01:00
pdb_smbpasswd.h s3-passdb: split out passdb/pdb_smbpasswd.h. 2011-10-10 20:14:46 +02:00
pdb_tdb.c s3:passdb/pdb_tdb add parameter to control handling of BUILTIN 2013-06-21 10:44:23 +02:00
pdb_tdb.h s3-passdb: split out passdb/pdb_tdb.h. 2011-10-10 18:40:33 +02:00
pdb_unixid.c s3-passdb: add unixid_from_uid/unixid_from_gid/unixid_from_both API 2012-05-23 17:51:50 +03:00
pdb_util.c s3:passdb/pdb_util make pdb_create_builtin consider whether backend deals with BUILTIN 2013-06-21 12:49:10 +02:00
pdb_wbc_sam.c s3-group-mapping: Remove fstrings from GROUP_MAP. 2011-10-12 19:28:12 +02:00
pdb_wbc_sam.h s3-passdb: split out passdb/pdb_wbc_sam.h. 2011-10-10 18:40:40 +02:00
py_passdb.c ntdb: switch between secrets.tdb and secrets.ntdb depending on 'use ntdb' 2013-02-20 07:09:19 +01:00
secrets_lsa.c s3-secrets: add lsa_secret passdb api. 2011-07-31 22:37:26 +02:00
secrets.c ntdb: switch between secrets.tdb and secrets.ntdb depending on 'use ntdb' 2013-02-20 07:09:19 +01:00
wscript_build Rename pdb_ldap to pdb_ldapsam 2013-02-06 11:51:11 +01:00