The previous patches to the provision system cut down on the number of
reconnects, and disabled the partition handling for part of the
process. This means we lost the setting of @OPTIONS as a replicated
attribute into the partitions.
Andrew Bartlett
# And now we can connect to the DB - the schema won't be loaded from the DB
samdb.connect(path)
# And now we can connect to the DB - the schema won't be loaded from the DB
samdb.connect(path)
+
+ # Load @OPTIONS
+ samdb.load_ldif_file_add(setup_path("provision_options.ldif"))
+
if fill == FILL_DRS:
return samdb
if fill == FILL_DRS:
return samdb
-dn: @OPTIONS
-checkBaseOnSearch: TRUE
-
dn: @KLUDGEACL
passwordAttribute: clearTextPassword
passwordAttribute: userPassword
dn: @KLUDGEACL
passwordAttribute: clearTextPassword
passwordAttribute: userPassword
--- /dev/null
+dn: @OPTIONS
+checkBaseOnSearch: TRUE
+