From: Andrew Bartlett Date: Sun, 23 Jul 2023 23:40:46 +0000 (+1200) Subject: s4-torture/drs: Save the server dnsname on the DcConnection object X-Git-Tag: samba-4.17.11~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa155ccb5fda76607b261b939d183c60cda2594f;p=thirdparty%2Fsamba.git s4-torture/drs: Save the server dnsname on the DcConnection object This object is used to hold one of many possible connections and it is helpful for debugging and uniqueness to know which DC is being connected to. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15401 Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher (cherry picked from commit c30bb8769ff2c4eba2d8f8a2bd3a56946b7d9d5e) --- diff --git a/source4/torture/drs/python/getncchanges.py b/source4/torture/drs/python/getncchanges.py index 1d25c58c51d..b101e9e2a08 100644 --- a/source4/torture/drs/python/getncchanges.py +++ b/source4/torture/drs/python/getncchanges.py @@ -1229,3 +1229,4 @@ class DcConnection: (self.drs, self.drs_handle) = drs_base._ds_bind(dnsname_dc) (self.default_hwm, utdv) = drs_base._get_highest_hwm_utdv(ldb_dc) self.default_utdv = utdv + self.dnsname_dc = dnsname_dc