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>
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
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
ou=traffic.ou_name(ldb, opts.instance_id),
tempdir=tempdir,
stop_on_any_error=opts.stop_on_any_error,
- domain_sid=ldb.get_domain_sid())
+ domain_sid=ldb.get_domain_sid(),
+ instance_id=opts.instance_id)
if opts.timing_data == '-':
timing_dest = sys.stdout