summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-11-17 13:49:00 +1100
committerStefan Metzmacher <metze@samba.org>2013-01-17 15:10:10 +0100
commita0faf16ae9aefc4963b2583970509b1b23e27ce1 (patch)
tree9261cb5dc6d3bca75e9c31ab53a6e309fd388b4c /source4
parent18d7e5df0eb8fb593e66daf25d142584f44b5b87 (diff)
downloadsamba-a0faf16ae9aefc4963b2583970509b1b23e27ce1.tar.gz
samba-a0faf16ae9aefc4963b2583970509b1b23e27ce1.tar.bz2
samba-a0faf16ae9aefc4963b2583970509b1b23e27ce1.zip
torture: Fix fsmo test to use correct -H samba-tool syntax
However, the test still does not pass. Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/drs/python/fsmo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/drs/python/fsmo.py b/source4/torture/drs/python/fsmo.py
index f1fa6ef1fd..8a1e9ff41d 100644
--- a/source4/torture/drs/python/fsmo.py
+++ b/source4/torture/drs/python/fsmo.py
@@ -61,8 +61,8 @@ class DrsFsmoTestCase(drs_base.DrsBaseTestCase):
creds = self.get_credentials()
cmd_line_auth = "-U%s/%s%%%s" % (creds.get_domain(),
creds.get_username(), creds.get_password())
- # bin/samba-tool fsmo transfer --role=role --url=ldap://DC:389
- cmd_line = "%s fsmo transfer --role=%s --url=ldap://%s:389 %s" % (net_cmd, role, DC,
+ # bin/samba-tool fsmo transfer --role=role -H ldap://DC:389
+ cmd_line = "%s fsmo transfer --role=%s -H ldap://%s:389 %s" % (net_cmd, role, DC,
cmd_line_auth)
ret = os.system(cmd_line)
self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" % (role, DC))