diff options
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index f654dff37f..c43a032560 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -3165,10 +3165,7 @@ static BOOL process_registry_globals(BOOL (*pfunc)(const char *, const char *)) &type, &size, &data_p); - if ((strwicmp(valname,"include") == 0) || - (strwicmp(valname, "lock directory") == 0) || - (strwicmp(valname, "lock dir") == 0)) - { + if (registry_smbconf_valname_forbidden(valname)) { DEBUG(10, ("process_registry_globals: Ignoring " "parameter '%s' in registry.\n", valname)); continue; |