ID: 50270
User updated by: jcarlos at dsi dot uclm dot es
Reported By: jcarlos at dsi dot uclm dot es
Status: Open
Bug Type: LDAP related
Operating System: windows
PHP Version: 5.3.1
New Comment:
$ds=ldap_connect($ldaphost);
if(!ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)){
print "No puedo establecer LDAPv3";
}else if (!ldap_set_option($ds, LDAP_OPT_REFERRALS, 0)){
print "No puedo establecer LDAP_OPT_REFERRALS";
}else if (!ldap_start_tls($ds)) { // <----- FAIL --------------
print "No puedo iniciar TLS ";
}else {
printf "OK!!!!";
}
}
Previous Comments:
------------------------------------------------------------------------
[2009-11-23 11:27:21] jcarlos at dsi dot uclm dot es
Description:
------------
My configuration (works perfect):
Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.11
When i upgrade to:
Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.3.1
ldap_start_tls problem
Reproduce code:
---------------
Warning: ldap_start_tls() [function.ldap-start-tls]: Unable to start
TLS: Connect error in
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50270&edit=1