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)
committerKarolin Seeger <kseeger@samba.org>
Tue, 4 Sep 2018 10:14:37 +0000 (12:14 +0200)
commit53f225cd59bd78ae96d269080865916911e4ec25
tree62cba7c05690e8eddf78980f5cf2691f32ff7114
parent5556a67fdf44a89c4e410d1210d4b9811638a948
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