1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-04 00:59:13 +03:00

s4:provision Ensure that @OPTIONS is mirrored into each partition

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
This commit is contained in:
Andrew Bartlett
2009-08-26 17:31:44 +10:00
parent 425386ff61
commit 1a97bd915d
3 changed files with 7 additions and 3 deletions

View File

@ -842,6 +842,10 @@ def setup_samdb(path, setup_path, session_info, credentials, lp,
# 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