From e76397739d472ab699a8faf7c0d9e09aad8a29ed Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 13 Jun 2005 10:54:18 +0000 Subject: r7531: Finally fix lp_load(). I had left hooks in place which restricted us to globals only (no shares). Andrew Bartlett (This used to be commit 9e6112eee37927cd4deaa078ea09813e07c7c386) --- source4/param/loadparm.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source4/param/loadparm.c') diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index a546d51438..deb7d2284f 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2428,9 +2428,6 @@ BOOL lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue static BOOL do_parameter(const char *pszParmName, const char *pszParmValue) { - if (!bInGlobalSection) - return (True); - return (lp_do_parameter(bInGlobalSection ? -2 : iServiceIndex, pszParmName, pszParmValue)); } @@ -2631,9 +2628,6 @@ static BOOL do_section(const char *pszSectionName) return (True); } - if (!bInGlobalSection) - return (True); - /* if we have a current service, tidy it up before moving on */ bRetval = True; -- cgit