summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 92d5f07e2a..5255c95c27 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3163,9 +3163,12 @@ static BOOL process_registry_globals(BOOL (*pfunc)(const char *, const char *))
&type,
&size,
&data_p);
- if (strwicmp(valname,"include") == 0) {
+ if ((strwicmp(valname,"include") == 0) ||
+ (strwicmp(valname, "lock directory") == 0) ||
+ (strwicmp(valname, "lock dir") == 0))
+ {
DEBUG(10, ("process_registry_globals: Ignoring "
- "parameter 'include' in registry.\n"));
+ "parameter '%s' in registry.\n", valname));
continue;
}
DEBUG(10, ("process_registry_globals: got value '%s'\n",