summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-13 10:54:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:07 -0500
commite76397739d472ab699a8faf7c0d9e09aad8a29ed (patch)
tree26016bbdac3f751b7dc9781bb558475aa2bc8635
parent00e2b7c1b49b128488cf977b40b086b935fb605a (diff)
downloadsamba-e76397739d472ab699a8faf7c0d9e09aad8a29ed.tar.gz
samba-e76397739d472ab699a8faf7c0d9e09aad8a29ed.tar.bz2
samba-e76397739d472ab699a8faf7c0d9e09aad8a29ed.zip
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)
-rw-r--r--source4/param/loadparm.c6
1 files changed, 0 insertions, 6 deletions
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;