summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-06-19 21:06:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:27 -0500
commit0027ca86b6df471482b8082d6365c33fa0182c15 (patch)
treed269edd4e0b462a1939e2ccd55bb169f2124891b /source3
parentac1a7e2f9600b192c18e836bb6286b74156fffcc (diff)
downloadsamba-0027ca86b6df471482b8082d6365c33fa0182c15.tar.gz
samba-0027ca86b6df471482b8082d6365c33fa0182c15.tar.bz2
samba-0027ca86b6df471482b8082d6365c33fa0182c15.zip
r23547: Ignore parameter "include" in regsitry globals.
Michael (This used to be commit f0992c0d79bb6a5810c84a9eac208d83390bb047)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 856b7c4b0e..01bc798449 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3163,6 +3163,11 @@ static BOOL process_registry_globals(BOOL (*pfunc)(const char *, const char *))
&type,
&size,
&data_p);
+ if (strcmp(valname,"include")) {
+ DEBUG(10, ("process_registry_globals: Ignoring "
+ "parameter 'include' in registry.\n"));
+ continue;
+ }
DEBUG(10, ("process_registry_shares: got value '%s'\n",
valname));
if (size && data_p) {