diff options
author | CrÃstian Deives <cristiandeives@gmail.com> | 2010-03-07 02:09:24 -0300 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-03-12 16:31:20 +1100 |
commit | 208e2801b4715626a46292ca9d576d34d7fbfef2 (patch) | |
tree | b7f51b0cedf55bae21234934f319720e99104c19 /source4/dsdb/kcc/kcc_connection.c | |
parent | 6e20906f420be591894925a38504735d4e220c52 (diff) | |
download | samba-208e2801b4715626a46292ca9d576d34d7fbfef2.tar.gz samba-208e2801b4715626a46292ca9d576d34d7fbfef2.tar.bz2 samba-208e2801b4715626a46292ca9d576d34d7fbfef2.zip |
nTDSConnection creation
create nTDSConnection objects to "imply" the minimum-cost spanning tree edges
for which no nTDSConnection objects yet exist. it also adds a test function in
kcc_connection so the kcctpl functions can be called. this patch is in accord
with the sections [MS-ADTS] 7.2.2.3.4.2 and 7.2.2.3.4.5.
Diffstat (limited to 'source4/dsdb/kcc/kcc_connection.c')
-rw-r--r-- | source4/dsdb/kcc/kcc_connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/kcc/kcc_connection.c b/source4/dsdb/kcc/kcc_connection.c index d0d549dc1f..e78a615344 100644 --- a/source4/dsdb/kcc/kcc_connection.c +++ b/source4/dsdb/kcc/kcc_connection.c @@ -175,6 +175,8 @@ struct kcc_connection_list *kccsrv_find_connections(struct kccsrv_service *s, const char *attrs[] = { "objectGUID", "fromServer", NULL }; struct kcc_connection_list *list; + kcctpl_test(s->samdb); + base_dn = samdb_ntds_settings_dn(s->samdb); if (!base_dn) { DEBUG(0, ("failed to find our own NTDS settings DN\n")); |