From: Stefan Metzmacher Date: Tue, 5 Jun 2018 00:53:22 +0000 (+0200) Subject: dsdb:util_trusts: make use of trust_forest_info_to_lsa() X-Git-Tag: tevent-0.17.0~716 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=128f64471d4a276694c7065f267d8fd5770073d1;p=thirdparty%2Fsamba.git dsdb:util_trusts: make use of trust_forest_info_to_lsa() Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/source4/dsdb/common/util_trusts.c b/source4/dsdb/common/util_trusts.c index 1495019129a..3d38a607771 100644 --- a/source4/dsdb/common/util_trusts.c +++ b/source4/dsdb/common/util_trusts.c @@ -21,6 +21,7 @@ #include "ldb.h" #include "../lib/util/util_ldb.h" #include "../lib/util/dns_cmp.h" +#include "../libcli/lsarpc/util_lsarpc.h" #include "dsdb/samdb/samdb.h" #include "libcli/security/security.h" #include "librpc/gen_ndr/ndr_security.h" @@ -2834,7 +2835,7 @@ NTSTATUS dsdb_trust_routing_table_load(struct ldb_context *sam_ctx, continue; } - status = dsdb_trust_forest_info_to_lsa(d, fti, &d->fti); + status = trust_forest_info_to_lsa(d, fti, &d->fti); if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(frame); return status;