s4:dsdb Add default modules list to samba3sam
authorAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 22:22:18 +0000 (09:22 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 22:22:18 +0000 (09:22 +1100)
This is needed because the work to allow existing databases to be loaded now
moves the 'you have an old @PARTITION' record to the presense or absence of
this attribute.

Andrew Bartlett

source4/dsdb/samdb/ldb_modules/tests/samba3sam.py

index 252de85aa13c3f655d2a337df53fe698ebb7f595..2478043eb46126bcfc5dc10445277ba8d8017cd4 100644 (file)
@@ -54,7 +54,8 @@ class MapBaseTestCase(TestCaseInTempDir):
         ldb.add({"dn": "@PARTITION",
             "partition": ["%s" % (s4.basedn_casefold), 
                           "%s" % (s3.basedn_casefold)],
-            "replicateEntries": ["@ATTRIBUTES", "@INDEXLIST"]})
+            "replicateEntries": ["@ATTRIBUTES", "@INDEXLIST"],
+            "modules": "*:"})
 
     def setUp(self):
         super(MapBaseTestCase, self).setUp()