summaryrefslogtreecommitdiffstats
path: root/source4/torture/drs
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-27 12:08:03 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-27 15:17:18 +0100
commit02addbc40d0812d6398d4a9388c5879ae5bae284 (patch)
tree9cfa0b0ce088d2684b5e947699ed773ddf38d716 /source4/torture/drs
parent847b909b6ee70d140ebbd3800b3f1e2d51e15e97 (diff)
downloadsamba-02addbc40d0812d6398d4a9388c5879ae5bae284.tar.gz
samba-02addbc40d0812d6398d4a9388c5879ae5bae284.tar.xz
samba-02addbc40d0812d6398d4a9388c5879ae5bae284.zip
s4:torture/drs/python/fsmo.py - fix comments and an error message
Diffstat (limited to 'source4/torture/drs')
-rw-r--r--source4/torture/drs/python/fsmo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/drs/python/fsmo.py b/source4/torture/drs/python/fsmo.py
index 067ee2accb8..30120cca43c 100644
--- a/source4/torture/drs/python/fsmo.py
+++ b/source4/torture/drs/python/fsmo.py
@@ -101,7 +101,7 @@ class DrsFsmoTestCase(samba.tests.TestCase):
cmd_line = "%s fsmo transfer --role=%s --host=ldap://%s:389 %s" % (net_cmd, role, DC,
cmd_line_auth)
ret = os.system(cmd_line)
- self.assertEquals(ret, 0, "Transferring schema to %s has failed!" % (DC))
+ self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" % (role, DC))
pass
def _wait_for_role_transfer(self, ldb_dc, role_dn, master):
@@ -128,7 +128,7 @@ class DrsFsmoTestCase(samba.tests.TestCase):
def _role_transfer(self, role, role_dn):
"""Triggers transfer of role from DC1 to DC2
and vice versa so the role goes back to the original dc"""
- # dc2 gets the schema master role from dc1
+ # dc2 gets the role from dc1
print "Testing for %s role transfer from %s to %s" % (role, self.dnsname_dc1, self.dnsname_dc2)
self._net_fsmo_role_transfer(DC=self.dnsname_dc2, role=role)
@@ -139,7 +139,7 @@ class DrsFsmoTestCase(samba.tests.TestCase):
self.assertTrue(res,
"Transferring %s role to %s has failed, master is: %s!"%(role, self.dsServiceName_dc2, master))
- # dc1 gets back the schema master role from dc2
+ # dc1 gets back the role from dc2
print "Testing for %s role transfer from %s to %s" % (role, self.dnsname_dc2, self.dnsname_dc1)
self._net_fsmo_role_transfer(DC=self.dnsname_dc1, role=role)
# check if the role is transfered