git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
990e061
)
r7531: Finally fix lp_load(). I had left hooks in place which restricted us
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 13 Jun 2005 10:54:18 +0000
(10:54 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:07 +0000
(13:18 -0500)
to globals only (no shares).
Andrew Bartlett
source/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source/param/loadparm.c
b/source/param/loadparm.c
index a546d5143844e0789662ffa7c4b8c2d0c755fb42..deb7d2284ff00418eb0647795f3578fd570b09ad 100644
(file)
--- a/
source/param/loadparm.c
+++ b/
source/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;