r8603: we have to use the same db name as the rest of smbd uses so the ldb connect
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Jul 2005 11:55:35 +0000 (11:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:44 +0000 (13:29 -0500)
works when already open
(This used to be commit 1183f54c8dee28c136b4dc72bc059a6175fe09e4)

source4/scripting/libjs/provision.js

index 5ce9c8886fac4a24a0b507067a9844309adcfbad..d3b94c1d1c4805aa04d3d37e0f16c22279d05c31 100644 (file)
@@ -146,7 +146,7 @@ function setup_ldb(ldif, dbname, subobj)
                extra = arguments[3];
        }
 
                extra = arguments[3];
        }
 
-       var dbfile = lpGet("private dir") + "/" + dbname;
+       var dbfile = dbname;
        var src = lpGet("setup directory") + "/" + ldif;
 
        var data = sys.file_load(src);
        var src = lpGet("setup directory") + "/" + ldif;
 
        var data = sys.file_load(src);