From: Karolin Seeger Date: Sun, 21 Dec 2008 07:23:39 +0000 (+0100) Subject: s3: loadparm: Clean-up list of parameters. X-Git-Tag: samba-3.3.0~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2a4842ae8a0d90f131330e35e830a16283cd65;p=thirdparty%2Fsamba.git s3: loadparm: Clean-up list of parameters. We don't need to list several combinations of lowercase and uppercase here. Karolin (cherry picked from commit f2f9956a8ae1f2d6b1807c848961d797549b696b) --- diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 59aff377664..8b320f1c9b2 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -718,24 +718,17 @@ static const struct enum_list enum_ldap_sasl_wrapping[] = { static const struct enum_list enum_ldap_ssl[] = { {LDAP_SSL_OFF, "no"}, - {LDAP_SSL_OFF, "No"}, {LDAP_SSL_OFF, "off"}, - {LDAP_SSL_OFF, "Off"}, {LDAP_SSL_START_TLS, "start tls"}, - {LDAP_SSL_START_TLS, "Start_tls"}, + {LDAP_SSL_START_TLS, "start_tls"}, {-1, NULL} }; static const struct enum_list enum_ldap_passwd_sync[] = { {LDAP_PASSWD_SYNC_OFF, "no"}, - {LDAP_PASSWD_SYNC_OFF, "No"}, {LDAP_PASSWD_SYNC_OFF, "off"}, - {LDAP_PASSWD_SYNC_OFF, "Off"}, - {LDAP_PASSWD_SYNC_ON, "Yes"}, {LDAP_PASSWD_SYNC_ON, "yes"}, {LDAP_PASSWD_SYNC_ON, "on"}, - {LDAP_PASSWD_SYNC_ON, "On"}, - {LDAP_PASSWD_SYNC_ONLY, "Only"}, {LDAP_PASSWD_SYNC_ONLY, "only"}, {-1, NULL} };