summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-07-12 07:15:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:11 -0500
commit6b38e62f0a004103def69244d39c6bc3e607aa9f (patch)
tree885aadb31752880c1b02f85a002713491b215930 /source4/scripting/ejs
parent74046071f579cee2218d4492e6f88ee6c40f42cf (diff)
downloadsamba-6b38e62f0a004103def69244d39c6bc3e607aa9f.tar.gz
samba-6b38e62f0a004103def69244d39c6bc3e607aa9f.tar.bz2
samba-6b38e62f0a004103def69244d39c6bc3e607aa9f.zip
r8357: Call lp_load() so we can access the various lp_functions().
(This used to be commit f76a7ec2a2ef5db7ca7dced519474495d7ea02dc)
Diffstat (limited to 'source4/scripting/ejs')
-rw-r--r--source4/scripting/ejs/smbscript.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/ejs/smbscript.c b/source4/scripting/ejs/smbscript.c
index 691cd44730..d999ba072a 100644
--- a/source4/scripting/ejs/smbscript.c
+++ b/source4/scripting/ejs/smbscript.c
@@ -48,6 +48,8 @@ void ejs_exception(const char *reason)
smbscript_init_subsystems;
mprSetCtx(mem_ctx);
+ lp_load(dyn_CONFIGFILE);
+
if (argc < 2) {
fprintf(stderr, "You must supply a script name\n");
exit(1);