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:
parent
990e061939
commit
9e6112eee3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user