diff options
author | Gerald Carter <jerry@samba.org> | 2002-10-10 02:39:03 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-10-10 02:39:03 +0000 |
commit | c7f289afc70a716bec148d64bdfdcc46d29b3672 (patch) | |
tree | f96e316f9d66d3495b489379c2aa6479efd1353e /source/passdb/pdb_ldap.c | |
parent | 0864bca0b1c65be7e5edd951d3281a46aabc1409 (diff) | |
download | samba-c7f289afc70a716bec148d64bdfdcc46d29b3672.tar.gz |
sync for rc2 :-( (forgot the LDAP fix)
Diffstat (limited to 'source/passdb/pdb_ldap.c')
-rw-r--r-- | source/passdb/pdb_ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c index a4258347178..5795aa7b9bd 100644 --- a/source/passdb/pdb_ldap.c +++ b/source/passdb/pdb_ldap.c @@ -155,9 +155,9 @@ static BOOL ldap_open_connection (LDAP ** ldap_struct) /* Connect to older servers using SSL and V2 rather than Start TLS */ if (ldap_get_option(*ldap_struct, LDAP_OPT_PROTOCOL_VERSION, &version) == LDAP_OPT_SUCCESS) { - if (version != LDAP_VERSION2) + if (version != LDAP_VERSION3) { - version = LDAP_VERSION2; + version = LDAP_VERSION3; ldap_set_option (*ldap_struct, LDAP_OPT_PROTOCOL_VERSION, &version); } } |