diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2019-07-18 13:39:20 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-07-24 02:24:27 +0000 |
commit | 6d6fe4993876d3374ae7ffeaf55d660ffa6b450b (patch) | |
tree | 50faa2b39edba730e7e79556ad2d6ecde953a5f5 /python | |
parent | 6b1f9b4a5ff5450b0858d27dcc1af3021694be7d (diff) | |
download | samba-6d6fe4993876d3374ae7ffeaf55d660ffa6b450b.tar.gz |
traffic replay: Store the instance id in the replay context
Store the traffic runner instance id in the replay context. Will be
used in subsequent commits.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/emulate/traffic.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/samba/emulate/traffic.py b/python/samba/emulate/traffic.py index c511fef6557..b2175d3e4bf 100644 --- a/python/samba/emulate/traffic.py +++ b/python/samba/emulate/traffic.py @@ -363,7 +363,8 @@ class ReplayContext(object): ou=None, base_dn=None, domain=os.environ.get("DOMAIN"), - domain_sid=None): + domain_sid=None, + instance_id=None): self.server = server self.netlogon_connection = None self.creds = creds @@ -379,6 +380,7 @@ class ReplayContext(object): self.global_tempdir = tempdir self.domain_sid = domain_sid self.realm = lp.get('realm') + self.instance_id = instance_id # Bad password attempt controls self.badpassword_frequency = badpassword_frequency |