|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-12-09 09:05 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 20:00:01 2025 UTC |
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