From b31875ba75057e94fff9df67ed025570245a282b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Jan 2007 23:00:46 +0000 Subject: 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) --- source4/scripting/libjs/provision.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/scripting/libjs') 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); -- cgit