summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-06-06 22:50:54 +0000
committerGerald Carter <jerry@samba.org>2003-06-06 22:50:54 +0000
commite485bc7e3e192c419e4a9b9dc435f07cfb4535fc (patch)
tree68bbfaff0be025a79696219f7e16941417799737 /source3/param
parent71298881c4a630666c1a14be99048f8f86e48162 (diff)
downloadsamba-e485bc7e3e192c419e4a9b9dc435f07cfb4535fc.tar.gz
samba-e485bc7e3e192c419e4a9b9dc435f07cfb4535fc.tar.bz2
samba-e485bc7e3e192c419e4a9b9dc435f07cfb4535fc.zip
support LDAP_EXOP_MODIFY_PASSWORD (not experiemental in OpenLDAP 2.1)
(This used to be commit 50fdc938222112b5470d05d8cd15386bd0a112df)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 49f0bbd2a4..b76a56328b 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -624,18 +624,16 @@ static const struct enum_list enum_ldap_ssl[] = {
};
static const struct enum_list enum_ldap_passwd_sync[] = {
- {LDAP_PASSWD_SYNC_ON, "Yes"},
- {LDAP_PASSWD_SYNC_ON, "yes"},
- {LDAP_PASSWD_SYNC_ON, "on"},
- {LDAP_PASSWD_SYNC_ON, "On"},
{LDAP_PASSWD_SYNC_OFF, "no"},
{LDAP_PASSWD_SYNC_OFF, "No"},
{LDAP_PASSWD_SYNC_OFF, "off"},
{LDAP_PASSWD_SYNC_OFF, "Off"},
-#ifdef LDAP_EXOP_X_MODIFY_PASSWD
+ {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"},
-#endif /* LDAP_EXOP_X_MODIFY_PASSWD */
{-1, NULL}
};