dsdb:util_trusts: add dsdb_trust_local_tdo_info() helper function
authorStefan Metzmacher <metze@samba.org>
Thu, 1 Feb 2018 22:09:26 +0000 (23:09 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:31:42 +0000 (13:31 +0200)
commit66a055434f794210b00dd48914a0ef58c3ecb25d
treeeb03615b6e4b56307f61d8ac815e81a4d51e848d
parent96ae85bcc1ec0e8523f475a8060522ff120bad37
dsdb:util_trusts: add dsdb_trust_local_tdo_info() helper function

This is similar to dsdb_trust_xref_tdo_info(), but will also work
if we ever support more than one domain in our forest.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11517

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit c1b0ac95db5c6112d90356c7ada8c3d445e9b668)
source4/dsdb/common/util_trusts.c