diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-08-28 02:06:25 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-08-28 02:06:25 +0000 |
commit | 311a4dfb9a9a39a54dcb47d83e1604ad7461dce4 (patch) | |
tree | f21aaa1daff675bc0c4a332c89f1e693db0446b7 | |
parent | 85738b7ee1ea6d88999d6aedc51a2daf545cb8b8 (diff) | |
download | samba-311a4dfb9a9a39a54dcb47d83e1604ad7461dce4.tar.gz samba-311a4dfb9a9a39a54dcb47d83e1604ad7461dce4.tar.xz samba-311a4dfb9a9a39a54dcb47d83e1604ad7461dce4.zip |
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!
-rw-r--r-- | source/param/loadparm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 0ed1dad1f7f..957ba880111 100644 --- a/source/param/loadparm.c +++ b/source/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} }; |