summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/libjs/provision.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 23f26a6b86..9f24b5e48b 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -492,13 +492,6 @@ function provision_become_dc(subobj, message, paths, session_info)
setup_ldb("secrets.ldif", info, paths.secrets, false);
- tmp = lp.get("secrets database");
- ok = lp.set("secrets database", paths.secrets);
- assert(ok);
-
- ok = lp.set("secrets database", tmp);
- assert(ok);
-
return true;
}