dsdb/util_trusts: domain_dn is an input parameter of dsdb_trust_crossref_tdo_info()
authorStefan Metzmacher <metze@samba.org>
Thu, 1 Feb 2018 22:08:08 +0000 (23:08 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Sep 2018 00:31:26 +0000 (02:31 +0200)
commitf5f96f558b499770cdeb3d38998167a387e058b9
tree92ac99d9f1cb38a04126093815544f8092df45c8
parentd5dd8fdc647d6a202c5da0451d395116c2cd92b9
dsdb/util_trusts: domain_dn is an input parameter of dsdb_trust_crossref_tdo_info()

We should not overwrite it within the function.
Currently it doesn't matter as we don't have multiple domains
within our forest, but that will change in future.

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>
source4/dsdb/common/util_trusts.c