summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-09-03 13:06:36 -0700
committerJeremy Allison <jra@samba.org>2008-09-03 13:06:36 -0700
commitc16f2907c5f7a66b3e5d58af8f87ad35c5f77670 (patch)
tree053a20ffc341c50d94b745c09d573e644960ee39 /source3/param
parent3fa16da8c70af9c54e03ea2a497d18009d2126e9 (diff)
downloadsamba-c16f2907c5f7a66b3e5d58af8f87ad35c5f77670.tar.gz
samba-c16f2907c5f7a66b3e5d58af8f87ad35c5f77670.tar.bz2
samba-c16f2907c5f7a66b3e5d58af8f87ad35c5f77670.zip
Fix bug #5729. Explicitly allow "-valid".
Jeremy (This used to be commit 4f2de29723bb7e588e6c9440649b57d56d10b587)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
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++)