mirror of
https://github.com/samba-team/samba.git
synced 2025-08-21 09:49:28 +03:00
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 <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit c30bb8769f
)
This commit is contained in:
committed by
Jule Anger
parent
958ae0038d
commit
4b30611733
@ -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
|
||||
|
Reference in New Issue
Block a user