summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-05 23:00:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:05 -0500
commitb31875ba75057e94fff9df67ed025570245a282b (patch)
tree1a27f5230970ac2a35d0f736be93216b86089eb3 /source4/scripting/libjs
parent33009ef6ad77597f326f72e4c678c7032ea968a2 (diff)
downloadsamba-b31875ba75057e94fff9df67ed025570245a282b.tar.gz
samba-b31875ba75057e94fff9df67ed025570245a282b.tar.bz2
samba-b31875ba75057e94fff9df67ed025570245a282b.zip
r20575: apply records to the test_samdb.ldb (my birthday present to myself...:-)
we need to modify some modules to only handle originating changes... metze (This used to be commit 0f387d58e69a6ee806fea02229ef8fa030f2918d)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/provision.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 1ef569c908..6d5e9d4f70 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -470,6 +470,9 @@ function provision_become_dc(subobj, message, paths, session_info)
message("Setting up " + paths.samdb + " rootDSE\n");
setup_add_ldif("provision_rootdse_add.ldif", info, samdb, false);
+ message("Erasing data from partitions\n");
+ ldb_erase_partitions(info, samdb, undefined);
+
ok = samdb.transaction_commit();
assert(ok);