ID: 34482
Updated by: edink@php.net
Reported By: zbowden at vt dot edu
-Status: Assigned
+Status: Feedback
Bug Type: LDAP related
Operating System: Windows 2003
PHP Version: 5CVS-2005-09-12 (snap)
Assigned To: edink
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2005-09-12 19:41:55] sniper@php.net
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