From: Andrew Bartlett Date: Sat, 17 Nov 2012 02:49:00 +0000 (+1100) Subject: torture: Fix fsmo test to use correct -H samba-tool syntax X-Git-Tag: ldb-1.1.15~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0faf16ae9aefc4963b2583970509b1b23e27ce1;p=thirdparty%2Fsamba.git torture: Fix fsmo test to use correct -H samba-tool syntax However, the test still does not pass. Reviewed-by: Stefan Metzmacher --- diff --git a/source4/torture/drs/python/fsmo.py b/source4/torture/drs/python/fsmo.py index f1fa6ef1fde..8a1e9ff41d6 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))