From 5be247c62ca4445fe6983c74c662ec4ef500859e Mon Sep 17 00:00:00 2001 From: Matthew Chapman Date: Sun, 11 Apr 1999 11:47:33 +0000 Subject: Allow "Yes" and "No" as well as "True" and "False" in the three-state enumeration. (This used to be commit 4ed67ccf1cdfd064cf2b2949020feb5afcb76b9d) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/param') 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 -- cgit