From bbc7918ad07c179729c41ed839a5a9afae91f2dc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 28 Aug 2000 02:06:25 +0000 Subject: arrgh. whoever added "auto" parameters in loadparam only supported "True", "False" and "Auto", and did not support "Yes" and "No" like booleans. This means anyone using "preferred master = yes" didn't get what they expected! (This used to be commit 311a4dfb9a9a39a54dcb47d83e1604ad7461dce4) --- source3/param/loadparm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 0ed1dad1f7..957ba88011 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -573,7 +573,11 @@ static struct enum_list enum_case[] = { static struct enum_list enum_bool_auto[] = { {False, "False"}, + {False, "No"}, + {False, "0"}, {True, "True"}, + {True, "Yes"}, + {True, "1"}, {Auto, "Auto"}, {-1, NULL} }; -- cgit