summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-03 18:40:05 +0200
committerMatthias Dieter Wallnöfer <mdw@sn-devel-104.sn.samba.org>2010-10-03 16:50:06 +0000
commit4e8206eb4c74de05aa0657fc36ad1569b96a8900 (patch)
tree29af9a114e6f744b1a2aeca6e4fa3f00dee9f189 /source4
parent79a4be4f773ef7ce7340619102374796de150a8a (diff)
downloadsamba-4e8206eb4c74de05aa0657fc36ad1569b96a8900.tar.gz
samba-4e8206eb4c74de05aa0657fc36ad1569b96a8900.tar.bz2
samba-4e8206eb4c74de05aa0657fc36ad1569b96a8900.zip
s4:urgent_replication.py - fix up the system flags handling
And relax some more object creations due to the enforced system flags rules.
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/dsdb/tests/python/urgent_replication.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/dsdb/tests/python/urgent_replication.py b/source4/dsdb/tests/python/urgent_replication.py
index 3c35af63bb..47d43dd397 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)