mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
netcmd: tests: bugfix: argument -U was already in creds so listed twice
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
7f4db71025
commit
f9d406dca6
@ -237,7 +237,7 @@ class SambaToolDrsShowReplTests(drs_base.DrsBaseTestCase):
|
||||
# try again.
|
||||
#
|
||||
# We don't restore them to the non-auto-replication state.
|
||||
samdb1 = self.getSamDB("-H", "ldap://%s" % self.dc1, "-U",
|
||||
samdb1 = self.getSamDB("-H", "ldap://%s" % self.dc1,
|
||||
self.cmdline_creds)
|
||||
self._enable_all_repl(self.dc1)
|
||||
self._force_all_reps(samdb1, self.dc1, 'inbound')
|
||||
@ -310,9 +310,9 @@ class SambaToolDrsShowReplTests(drs_base.DrsBaseTestCase):
|
||||
self.addCleanup(self._enable_all_repl, self.dc1)
|
||||
self._disable_all_repl(self.dc1)
|
||||
|
||||
samdb1 = self.getSamDB("-H", "ldap://%s" % self.dc1, "-U",
|
||||
samdb1 = self.getSamDB("-H", "ldap://%s" % self.dc1,
|
||||
self.cmdline_creds)
|
||||
samdb2 = self.getSamDB("-H", "ldap://%s" % self.dc2, "-U",
|
||||
samdb2 = self.getSamDB("-H", "ldap://%s" % self.dc2,
|
||||
self.cmdline_creds)
|
||||
domain_dn = samdb1.domain_dn()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user