summaryrefslogtreecommitdiff
path: root/source4/torture/drs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-28 14:17:45 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-29 00:00:22 +0200
commitf4d581468c467135553bba657a40ca1eb6ccc11c (patch)
tree3d05df3f7e0eccf0e60dcb094e6c96457ba8e397 /source4/torture/drs
parent9eb9b11bfd108095ceb4c1813b4f7feac12f3401 (diff)
downloadsamba-f4d581468c467135553bba657a40ca1eb6ccc11c.tar.gz
samba-f4d581468c467135553bba657a40ca1eb6ccc11c.tar.bz2
samba-f4d581468c467135553bba657a40ca1eb6ccc11c.zip
s4-fsmo: samba-tool fsmo takes a URL, not a hostname
better to call the option --url Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture/drs')
-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 c137c7e8e5..f1fa6ef1fd 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 --host=ldap://DC:389
- cmd_line = "%s fsmo transfer --role=%s --host=ldap://%s:389 %s" % (net_cmd, role, DC,
+ # 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,
cmd_line_auth)
ret = os.system(cmd_line)
self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" % (role, DC))