r23547: Ignore parameter "include" in regsitry globals.
authorMichael Adam <obnox@samba.org>
Tue, 19 Jun 2007 21:06:31 +0000 (21:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:27 +0000 (12:23 -0500)
Michael

source/param/loadparm.c

index 856b7c4b0e467aafc2e865be4c2d70c6306b9a62..01bc798449834701062ac58560624fe9ae212bcb 100644 (file)
@@ -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) {