summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs/provision.js
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-30 00:41:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:58 -0500
commit7be4cf8c1ded42daf7e86ecd2c0dbfeeed312b22 (patch)
tree31b40e747ae679f4d6eeef2f8b3999070c747ea6 /source4/scripting/libjs/provision.js
parent37194224416d7509a457ee4aa18991b8bab0da7d (diff)
downloadsamba-7be4cf8c1ded42daf7e86ecd2c0dbfeeed312b22.tar.gz
samba-7be4cf8c1ded42daf7e86ecd2c0dbfeeed312b22.tar.bz2
samba-7be4cf8c1ded42daf7e86ecd2c0dbfeeed312b22.zip
r9770: Couple other bugfixes
Update TODO-list (This used to be commit d9541535e3f9e1c058410eeb0a54d60181572f2b)
Diffstat (limited to 'source4/scripting/libjs/provision.js')
-rw-r--r--source4/scripting/libjs/provision.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index b43d435ca9..9607d6f274 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -164,14 +164,13 @@ function setup_ldb(ldif, dbname, subobj)
erase = arguments[4];
}
- var dbfile = dbname;
var src = lp.get("setup directory") + "/" + ldif;
var data = sys.file_load(src);
data = data + extra;
data = substitute_var(data, subobj);
- var ok = ldb.connect(dbfile);
+ var ok = ldb.connect(dbname);
assert(ok);
if (erase) {