diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-01-11 11:11:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:40:21 -0500 |
commit | bd96c74e144262643d3edb899c68583765ee0865 (patch) | |
tree | edb30af7a7bf4803a22e36fb54d8d97c144269be | |
parent | fbba1b39d47224feed48f904c59221008c3bf090 (diff) | |
download | samba-bd96c74e144262643d3edb899c68583765ee0865.tar.gz samba-bd96c74e144262643d3edb899c68583765ee0865.tar.bz2 samba-bd96c74e144262643d3edb899c68583765ee0865.zip |
r20683: load indexes before applying replicated objects,
as for every object the repl_meta_data module needs to look
up the object by objectGUID
metze
(This used to be commit 55f845377ce3a7aeb028805754dc9c05d429548e)
-rw-r--r-- | source4/scripting/libjs/provision.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index 6d5e9d4f70..d77b2b6c04 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -473,6 +473,9 @@ function provision_become_dc(subobj, message, paths, session_info) message("Erasing data from partitions\n"); ldb_erase_partitions(info, samdb, undefined); + message("Setting up " + paths.samdb + " indexes\n"); + setup_add_ldif("provision_index.ldif", info, samdb, false); + ok = samdb.transaction_commit(); assert(ok); |