1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/passdb
Alexander Bokovoy 5952755755 PASSDB: add support to set and enumerate UPN suffixes associated with our forest
Samba PDC may manage a forest containing DNS domains in addition to the primary one.
Information about them is advertised via netr_DsRGetForestTrustInformation when
trusted_domain_name is NULL, according to MS-NRPC and MS-LSAD, and
via netr_GetForestTrustInformation.

This changeset only expands PASSDB API; how suffixes are maintained is left
to specific PDB modules. Set function is added so that suffixes could be
managed through 'net' and other Samba utilities, if possible.

One possible implementation is available for ipasam module in FreeIPA:
http://git.fedorahosted.org/cgit/freeipa.git/commit/?id=cc56723151c9ebf58d891e85617319d861af14a4

Reviewed-by: Andreas Schneider <asn@samba.org>
2013-04-09 20:29:18 +02:00
..
ABI PASSDB: add support to set and enumerate UPN suffixes associated with our forest 2013-04-09 20:29:18 +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 Free protect_ids in secret_store_domain_guid() as the caller of fetch_secrets() must free the result in order to not leak memory. 2012-09-07 04:11:43 +02: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 PASSDB: add support to set and enumerate UPN suffixes associated with our forest 2013-04-09 20:29:18 +02:00
pdb_ipa.c Rename pdb_ldap to pdb_ldapsam 2013-02-06 11:51:11 +01: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 Rename pdb_ldap to pdb_ldapsam 2013-02-06 11:51:11 +01: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 passdb: Add discard_const_p() to pdb_samba_dsdb 2013-01-10 18:46:22 +11: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 Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07: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: create_builtin_users/administrators belongs to passdb not auth. 2011-03-30 01:13:07 +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