From: Matthias Dieter Wallnöfer Date: Sun, 3 Oct 2010 16:40:05 +0000 (+0200) Subject: s4:urgent_replication.py - fix up the system flags handling X-Git-Tag: samba-4.0.0alpha14~2354 X-Git-Url: http://git.samba.org/samba.git/?p=samba.git;a=commitdiff_plain;h=4e8206eb4c74de05aa0657fc36ad1569b96a8900 s4:urgent_replication.py - fix up the system flags handling And relax some more object creations due to the enforced system flags rules. --- diff --git a/source4/dsdb/tests/python/urgent_replication.py b/source4/dsdb/tests/python/urgent_replication.py index 3c35af63bbe..47d43dd397e 100755 --- a/source4/dsdb/tests/python/urgent_replication.py +++ b/source4/dsdb/tests/python/urgent_replication.py @@ -96,7 +96,7 @@ class UrgentReplicationTests(samba.tests.TestCase): "objectclass":"server", "cn":"test server", "name":"test server", - "systemFlags":"50000000"}); + "systemFlags":"50000000", ["relax:0"]}); self.ldb.add_ldif( """dn: cn=NTDS Settings test,cn=test server,cn=Servers,cn=Default-First-Site-Name,cn=Sites,cn=Configuration,%s""" % (self.base_dn) + """ @@ -139,7 +139,7 @@ systemFlags: 33554432""", ["relax:0"]); "nCName": self.base_dn, "showInAdvancedViewOnly": "TRUE", "name": "test crossRef", - "systemFlags": "1"}); + "systemFlags": "1", ["relax:0"]}); # urgent replication should be enabled when creating res = self.ldb.load_partition_usn("cn=Configuration," + self.base_dn) @@ -182,8 +182,7 @@ oMSyntax: 64 systemOnly: FALSE searchFlags: 8 lDAPDisplayName: test attributeSchema -name: test attributeSchema -systemFlags: 0"""); +name: test attributeSchema"""); # urgent replication should be enabled when creating res = self.ldb.load_partition_usn("cn=Schema,cn=Configuration," + self.base_dn)