ID: 35610 Updated by: [EMAIL PROTECTED] Reported By: newslettersforjml at exrei dot fi -Status: Open +Status: Bogus Bug Type: Performance problem Operating System: Linux 2.6.8 PHP Version: 4.4.1 New Comment:
We only wrap around the openldap library and openssl. If those fail, it's not our problem. Previous Comments: ------------------------------------------------------------------------ [2005-12-09 06:56:49] newslettersforjml at exrei dot fi Description: ------------ If you have lots of certificates in certs dir (from where php checks certs) ldap_bind gives timeout. Test system was P III 733MHz with 256MB ram. I tried with perl and ldapsearch and bind worked just fine with all certs in place. When one uses Debian Sarge and installs ca-certificates it installs about 60-75 certs. Before removing these certs I got timeout, after removing I got success. I tested ldap_bind against MS 2003 server AD. Reproduce code: --------------- $auth_user = "AD\\user"; $passwd = "pwd"; $connect=ldap_connect("ldaps://192.168.1.1"); ldap_set_option($connect, LDAP_OPT_PROTOCOL_VERSION, 3); ldap_set_option($connect, LDAP_OPT_REFERRALS, 0); $bind=ldap_bind($connect, $auth_user, $passwd); print "<br>"; print ldap_error($connect); print "<br>"; Expected result: ---------------- <br>Success<br> Actual result: -------------- Timeout ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35610&edit=1