ID: 48866 Updated by: paj...@php.net Reported By: dev at lechat dot org -Status: Assigned +Status: Feedback Bug Type: LDAP related Operating System: win32 only - windows server 2003 PHP Version: 5.3.0 Assigned To: pajoye New Comment:
I have updated the OpenLdap libraries and the next 5.3 snapshots should work as expected, looking for the ldap.conf in the default directory, which is defined in c:\opendlad\sysconf. The next snapshots should be online in ~1h from now. Please let me know if this change fixes the problem for your setups. Previous Comments: ------------------------------------------------------------------------ [2009-09-15 13:13:57] gerrit dot lampe at t-online dot de referring to phpuser at mailinator dot com i can confirm, that the problem for me was solved, too by moving ldap.conf to root of the drive where inetpub is placed. read permissons for IIS_IUSRS group or system reboot was not necessary in my case. System: Windows Server 2003 Enterprise Edition Service Pack 2 IIS 6.0 PHP 5.3.0 ------------------------------------------------------------------------ [2009-09-11 12:58:27] phpuser at mailinator dot com Upon further investigation, I found that my install was looking for the ldap.conf file in the root of the D drive. I'm guessing that is because I move my inetpub directory off of the system drive in all my installs. Upon placing the ldap.conf file there, giving read permissions to the IIS_IUSRS group, and a reboot, it began working. This is on a Server 2008 R2 box with PHP 5.3.0 NTS VC9. ------------------------------------------------------------------------ [2009-09-10 19:17:52] phpuser at mailinator dot com Same issue with Windows Server 2008 R2 and PHP 5.3.0 and 5.3.1 RC1. Neither Placing the ldap.conf file in the normal directory nor C:\ and restarting the OS fixed the problem. I now have the file located in both directories and it still refuses to work. ------------------------------------------------------------------------ [2009-09-02 11:17:18] dev at lechat dot org I have now tested with 5.2.10 and It works succesfully as with 5.2.9-1. I retry with 5.3.0, to test jbd at anl dot gov advice about restart windows and not only apache, but I got the same problem. 'TLS_REQCERT never' defined in c:\ldap.conf is not applied. I can still observe that this file is open and read with a filemonitor at the first ldaps request. Hope this will be effectively fixed in next ldap lib version. Thank you for your help. ------------------------------------------------------------------------ [2009-08-31 15:26:40] jbd at anl dot gov I have found that moving ldap.conf to c:\ldap.conf and restarting the Windows machine (not just Apache) resolved the error for me with PHP 5.3 using LDAPS. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/48866 -- Edit this bug report at http://bugs.php.net/?id=48866&edit=1