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-4.0.0alpha6~446 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbb085b2a295e4fde44737f2243745710ee14d87;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 --- diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 9bd664534ae..020eae6ad62 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -722,24 +722,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} };