mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
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>
This commit is contained in:
parent
2d98800219
commit
a11f874dc7
1570
source4/dsdb/common/util_trusts.c
Normal file
1570
source4/dsdb/common/util_trusts.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -29,6 +29,8 @@ struct dsdb_extended_replicated_objects;
|
||||
struct loadparm_context;
|
||||
struct tevent_context;
|
||||
|
||||
struct dsdb_trust_routing_table;
|
||||
|
||||
#include "librpc/gen_ndr/security.h"
|
||||
#include <ldb.h>
|
||||
#include "lib/ldb-samba/ldif_handlers.h"
|
||||
|
@ -13,7 +13,7 @@ bld.SAMBA_LIBRARY('samdb',
|
||||
)
|
||||
|
||||
bld.SAMBA_LIBRARY('samdb-common',
|
||||
source='common/util.c common/util_groups.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c',
|
||||
source='common/util.c common/util_trusts.c common/util_groups.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c',
|
||||
autoproto='common/proto.h',
|
||||
private_library=True,
|
||||
deps='ldb NDR_DRSBLOBS util_ldb LIBCLI_AUTH samba-hostconfig samba_socket cli-ldap-common flag_mapping'
|
||||
|
Loading…
x
Reference in New Issue
Block a user