summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2008-12-21 08:23:39 +0100
committerKarolin Seeger <kseeger@samba.org>2008-12-21 08:23:39 +0100
commitcbb085b2a295e4fde44737f2243745710ee14d87 (patch)
tree84d5c2b4d30942106a8262d475fff801621c3bdc /source3
parent6efb7ff98191c5f62f66be33591f674b682986ac (diff)
downloadsamba-cbb085b2a295e4fde44737f2243745710ee14d87.tar.gz
samba-cbb085b2a295e4fde44737f2243745710ee14d87.tar.xz
samba-cbb085b2a295e4fde44737f2243745710ee14d87.zip
s3: loadparm: Clean-up list of parameters.
We don't need to list several combinations of lowercase and uppercase here. Karolin
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c9
1 files changed, 1 insertions, 8 deletions
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}
};