From 5acbb6f9bf150737ea7e0367ecc9ff4eb037d648 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 17 Nov 2012 13:49:00 +1100 Subject: [PATCH] torture: Fix fsmo test to use correct -H samba-tool syntax However, the test still does not pass. Reviewed-by: Stefan Metzmacher (cherry picked from commit a0faf16ae9aefc4963b2583970509b1b23e27ce1) The last 3 patches address bug #9461 - FSMO seize of naming role fails: NT_STATUS_IO_TIMEOUT. --- source4/torture/drs/python/fsmo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.11.4.GIT