diff options
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index fbcc26a81d..60a1fa4858 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -6102,7 +6102,7 @@ static int map_parameter(const char *pszParmName) { int iIndex; - if (*pszParmName == '-') + if (*pszParmName == '-' && !strequal(pszParmName, "-valid")) return (-1); for (iIndex = 0; parm_table[iIndex].label; iIndex++) |