]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: loadparm: Clean-up list of parameters.
authorKarolin Seeger <kseeger@samba.org>
Sun, 21 Dec 2008 07:23:39 +0000 (08:23 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 2 Jan 2009 11:44:22 +0000 (12:44 +0100)
We don't need to list several combinations of lowercase and uppercase here.

Karolin
(cherry picked from commit f2f9956a8ae1f2d6b1807c848961d797549b696b)

source/param/loadparm.c

index 59aff377664435882a967ec308bffeb8c28757cc..8b320f1c9b24036b9e7a81ffe337c3419d68ef15 100644 (file)
@@ -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}
 };