svn commit: samba r26627 - in branches/SAMBA_4_0: . source/param
jelmer at samba.org
jelmer at samba.org
Sat Dec 29 18:14:12 GMT 2007
Author: jelmer
Date: 2007-12-29 18:14:12 +0000 (Sat, 29 Dec 2007)
New Revision: 26627
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26627
Log:
param: Provide a call for loading the system smb.conf.
Modified:
branches/SAMBA_4_0/
branches/SAMBA_4_0/source/param/loadparm.c
Changeset:
Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_4_0/source/param/loadparm.c 2007-12-29 18:14:04 UTC (rev 26626)
+++ branches/SAMBA_4_0/source/param/loadparm.c 2007-12-29 18:14:12 UTC (rev 26627)
@@ -2421,6 +2421,11 @@
return lp_ctx->szConfigFile;
}
+bool lp_load_default(struct loadparm_context *lp_ctx)
+{
+ return lp_load(lp_ctx, dyn_CONFIGFILE);
+}
+
/**
* Load the services array from the services file.
*
More information about the samba-cvs
mailing list