dsdb/util_trusts: domain_dn is an input parameter of dsdb_trust_crossref_tdo_info()
commit96ae85bcc1ec0e8523f475a8060522ff120bad37
authorStefan Metzmacher <metze@samba.org>
Thu, 1 Feb 2018 22:08:08 +0000 (1 23:08 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:31:42 +0000 (5 13:31 +0200)
tree48a2efe4078da3a854508cda9fca4061c5db5439
parentb7bd12dd7ea98bab82cfccc19230a41426c2346d
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>
(cherry picked from commit f5f96f558b499770cdeb3d38998167a387e058b9)
source4/dsdb/common/util_trusts.c