svn commit: samba r8357 - in branches/SAMBA_4_0/source/scripting/ejs: .

tpot at samba.org tpot at samba.org
Tue Jul 12 07:15:22 GMT 2005


Author: tpot
Date: 2005-07-12 07:15:22 +0000 (Tue, 12 Jul 2005)
New Revision: 8357

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8357

Log:
Call lp_load() so we can access the various lp_functions().

Modified:
   branches/SAMBA_4_0/source/scripting/ejs/smbscript.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbscript.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbscript.c	2005-07-12 07:12:46 UTC (rev 8356)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbscript.c	2005-07-12 07:15:22 UTC (rev 8357)
@@ -48,6 +48,8 @@
 	smbscript_init_subsystems;
 	mprSetCtx(mem_ctx);
 
+	lp_load(dyn_CONFIGFILE);
+
 	if (argc < 2) {
 		fprintf(stderr, "You must supply a script name\n");
 		exit(1);



More information about the samba-cvs mailing list