summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-04-11 11:47:33 +0000
committerMatthew Chapman <matty@samba.org>1999-04-11 11:47:33 +0000
commit5be247c62ca4445fe6983c74c662ec4ef500859e (patch)
treec5f4e909202bc6c96e070c9168b4c7feb6ef4ad7 /source3/param
parent9c2520e6cdf8951f6f6645af91915fac67b49d19 (diff)
downloadsamba-5be247c62ca4445fe6983c74c662ec4ef500859e.tar.gz
samba-5be247c62ca4445fe6983c74c662ec4ef500859e.tar.bz2
samba-5be247c62ca4445fe6983c74c662ec4ef500859e.zip
Allow "Yes" and "No" as well as "True" and "False" in the three-state
enumeration. (This used to be commit 4ed67ccf1cdfd064cf2b2949020feb5afcb76b9d)
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 695e265afd..b55a4f3d21 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -477,7 +477,7 @@ static struct enum_list enum_announce_as[] = {{ANNOUNCE_AS_NT, "NT"}, {ANNOUNCE_
static struct enum_list enum_case[] = {{CASE_LOWER, "lower"}, {CASE_UPPER, "upper"}, {-1, NULL}};
-static struct enum_list enum_bool_auto[] = {{False, "False"}, {True, "True"}, {Auto, "Auto"}, {-1, NULL}};
+static struct enum_list enum_bool_auto[] = {{True, "True"}, {False, "False"}, {True, "Yes"}, {False, "No"}, {Auto, "Auto"}, {-1, NULL}};
/*
Do you want session setups at user level security with a invalid