ID: 34482 User updated by: zbowden at vt dot edu Reported By: zbowden at vt dot edu -Status: Feedback +Status: Open Bug Type: LDAP related Operating System: Windows 2003 PHP Version: 5CVS-2005-09-12 (snap) Assigned To: edink New Comment:
tried the latest snapshot; I not longer get the access violation, however I cannot connect to any ldap server via LDAPS URI (says it can't contact server). I did use ntfilemon to make sure the ldap.conf (and ldaprc) files were being read and they are. Not sure where the problem is though? I rolled back to the release version of 5.0.4 just to be sure it would still work and I can connect & bind to the ldap servers via LDAPS (& start_tls). Previous Comments: ------------------------------------------------------------------------ [2005-10-24 01:14:59] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip ------------------------------------------------------------------------ [2005-09-12 19:41:55] [EMAIL PROTECTED] Someone updated some libs..assigned to that someone. :) ------------------------------------------------------------------------ [2005-09-12 18:49:18] zbowden at vt dot edu Description: ------------ After moving to 5.0.5 from 5.0.4 I can no longer do ldap searches when connecting via LDAPS URI -> ldap_connect(ldaps://server.com). I'm only using Windows 2003/IIS6/ISAPI but it might occur on other platforms. Replacing the libeay32.dll and ssleay32.dll with the versions distributed with 5.0.4 fix the problem. On the LDAP Server side I've tested against a Windows 2000 Active Directory LDAP server and an OpenLDAP server and get the same results. Reproduce code: --------------- $host = "ldaps://server.com"; $ldap = ldap_connect($host); $baseDn = "ou=accounts,dc=com"; // access violation will occur here $result = ldap_search($ldap, $baseDn, "name=user", array('dn')); Expected result: ---------------- PHP has encountered an Access Violation at _____ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34482&edit=1