From a0faf16ae9aefc4963b2583970509b1b23e27ce1 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 17 Nov 2012 13:49:00 +1100 Subject: torture: Fix fsmo test to use correct -H samba-tool syntax However, the test still does not pass. Reviewed-by: Stefan Metzmacher --- source4/torture/drs/python/fsmo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/drs') 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)) -- cgit