diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-01-05 20:58:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:37:02 -0500 |
commit | d0e221c4e097b53184ad4a877a1d062eaa10390c (patch) | |
tree | 94b1f185858de96ff60731dbbca0785b562e4bf9 /source4/scripting/libjs/provision.js | |
parent | a7bc3801f94891880a90b2974dfbadc9e9f8c2ee (diff) | |
download | samba-d0e221c4e097b53184ad4a877a1d062eaa10390c.tar.gz samba-d0e221c4e097b53184ad4a877a1d062eaa10390c.tar.bz2 samba-d0e221c4e097b53184ad4a877a1d062eaa10390c.zip |
r20568: split out the rootdse ldif
and set the isSyncronized = TRUE when we done
metze
(This used to be commit 5875ce1ac6ff694d07787ff0cf81b3429580311b)
Diffstat (limited to 'source4/scripting/libjs/provision.js')
-rw-r--r-- | source4/scripting/libjs/provision.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index 731f95c6de..772505f569 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -499,6 +499,10 @@ function provision(subobj, message, blank, paths, session_info, credentials, lda message("Setting up sam.ldb attributes\n"); setup_add_ldif("provision_init.ldif", info, samdb, false); + + message("Setting up sam.ldb rootDSE\n"); + setup_add_ldif("provision_rootdse_add.ldif", info, samdb, false); + message("Erasing data from partitions\n"); ldb_erase_partitions(info, samdb, ldapbackend); @@ -566,6 +570,9 @@ function provision(subobj, message, blank, paths, session_info, credentials, lda message("Setting up sam.ldb index\n"); setup_add_ldif("provision_index.ldif", info, samdb, false); + message("Setting up sam.ldb rootDSE marking as syncronized\n"); + setup_modify_ldif("provision_rootdse_modify.ldif", info, samdb, false); + var commit_ok = samdb.transaction_commit(); if (!commit_ok) { info.message("ldb commit failed: " + samdb.errstring() + "\n"); @@ -597,6 +604,9 @@ function provision(subobj, message, blank, paths, session_info, credentials, lda message("Setting up sam.ldb index\n"); setup_add_ldif("provision_index.ldif", info, samdb, false); + message("Setting up sam.ldb rootDSE marking as syncronized\n"); + setup_modify_ldif("provision_rootdse_modify.ldif", info, samdb, false); + var commit_ok = samdb.transaction_commit(); if (!commit_ok) { info.message("samdb commit failed: " + samdb.errstring() + "\n"); |