s4:dsdb/common: add helper functions for trusted domain objects (tdo)
commita11f874dc7a91c9bd6b111573af44fc90630168d
authorStefan Metzmacher <metze@samba.org>
Mon, 2 Feb 2015 12:12:36 +0000 (2 13:12 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2015 16:38:20 +0000 (8 18:38 +0200)
treec47240aa96019fd00d14e84e42c95e20250e60a2
parent2d98800219e1bc434cccc09322b4b509879d2a7d
s4:dsdb/common: add helper functions for trusted domain objects (tdo)

The most important things is the dsdb_trust_routing_table with the
dsdb_trust_routing_table_load() and dsdb_trust_routing_by_name() functions.

The routing table has knowledge about trusted domains/forests and
enables the dsdb_trust_routing_by_name() function to find the direct trust
that is responsable for the given name.

This will be used in the kdc and later winbindd to handle cross-trust/forest
routing.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util_trusts.c [new file with mode: 0644]
source4/dsdb/samdb/samdb.h
source4/dsdb/wscript_build