diff options
author | Jeremy Allison <jra@samba.org> | 2008-09-03 13:06:36 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-09-03 13:06:36 -0700 |
commit | c16f2907c5f7a66b3e5d58af8f87ad35c5f77670 (patch) | |
tree | 053a20ffc341c50d94b745c09d573e644960ee39 | |
parent | 3fa16da8c70af9c54e03ea2a497d18009d2126e9 (diff) | |
download | samba-c16f2907c5f7a66b3e5d58af8f87ad35c5f77670.tar.gz samba-c16f2907c5f7a66b3e5d58af8f87ad35c5f77670.tar.bz2 samba-c16f2907c5f7a66b3e5d58af8f87ad35c5f77670.zip |
Fix bug #5729. Explicitly allow "-valid".
Jeremy
(This used to be commit 4f2de29723bb7e588e6c9440649b57d56d10b587)
-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++) |