1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r7531: Finally fix lp_load(). I had left hooks in place which restricted us

to globals only (no shares).

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2005-06-13 10:54:18 +00:00 committed by Gerald (Jerry) Carter
parent 990e061939
commit 9e6112eee3

View File

@ -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;