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:      5.0.5
 New Comment:

tried the snapshot .. same results


Previous Comments:
------------------------------------------------------------------------

[2005-09-12 19:17:02] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------

[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

Reply via email to