summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-19 11:55:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:44 -0500
commit8f16aa6c179a6157a4fbece3b30ef6ebfb3f5562 (patch)
treeb058a90358c309ce71f7e376528b98245b3509c6 /source4/scripting/libjs
parentda88ef65e0f625e8baab07251839171d0ae5aa1b (diff)
downloadsamba-8f16aa6c179a6157a4fbece3b30ef6ebfb3f5562.tar.gz
samba-8f16aa6c179a6157a4fbece3b30ef6ebfb3f5562.tar.bz2
samba-8f16aa6c179a6157a4fbece3b30ef6ebfb3f5562.zip
r8603: we have to use the same db name as the rest of smbd uses so the ldb connect
works when already open (This used to be commit 1183f54c8dee28c136b4dc72bc059a6175fe09e4)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/provision.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 5ce9c8886f..d3b94c1d1c 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -146,7 +146,7 @@ function setup_ldb(ldif, dbname, subobj)
extra = arguments[3];
}
- var dbfile = lpGet("private dir") + "/" + dbname;
+ var dbfile = dbname;
var src = lpGet("setup directory") + "/" + ldif;
var data = sys.file_load(src);