Edit report at http://bugs.php.net/bug.php?id=48866&edit=1

 ID:                 48866
 Comment by:         tegwe002 at umn dot edu
 Reported by:        dev at lechat dot org
 Summary:            ldap.conf TLS_REQCERT directive fails for ldaps
 Status:             Feedback
 Type:               Bug
 Package:            LDAP related
 Operating System:   win32 only - windows server 2003
 PHP Version:        5.3.0
 Assigned To:        pajoye
 Block user comment: N

 New Comment:

Based on other people's comments I did a little testing. Here's what I
found out.



System:

PHP 5.3.3 Win32 vc6 x86

Windows server 2008 R2 Enterprise (no service pack)

Apache 2.2.15 



We too have our web-root (e) on a different drive than the system root
(c). Since this machine is in production, I put one copy of the file in
each location. I tried without reboot and had no joy.



After reboot I was able to connect to ldap over ssl with no errors. 



Then I did a little testing to see which file was being used. I tried
moving the test script between the c: and e: drives. 



The file must be in the root of the drive that the script is run from.
So if you run scripts from more than one drive you'll need to copy the
file to the root of each drive.



I hope this helps someone else.


Previous Comments:
------------------------------------------------------------------------
[2010-06-18 09:40:25] paj...@php.net

Please try 5.3.3RC1

------------------------------------------------------------------------
[2010-04-28 10:55:09] paj...@php.net

Yes, the bug is not in php itself but in the build of the ldap
libraries. It will be fixed in the next release (5.3.3) while being
available in the snapshots (I'm working on restoring them as well).



The trick is to put it in the root of the current drive, not very clean
but it can help to work around this problem.

------------------------------------------------------------------------
[2010-04-28 10:52:57] dietrich dot m dot 3 at pg dot com

correction to my last comment: placing the ldap.conf into the root
folder of the drive where my Apache Installation is located did work.

Note: HTROOT is on another drive. It might be bound to Server_Root ??

------------------------------------------------------------------------
[2010-04-28 10:45:25] dietrich dot m dot 3 at pg dot com

No comments since more than 2 months ?

I do still have this issue. Any workarounds that I missed ?

the ldap.conf is not accepted in C:\ nor at C:\OpenLDAP\sysconf.



Using ProcessMonitor, I was not able to find any attempt to access a
file named ldap.conf...

------------------------------------------------------------------------
[2010-02-03 15:21:09] akatherder at hotmail dot com

This bug still exists in PHP 5.3.1 for Windows/IIS.



There are no Windows binaries snapshots at
http://windows.php.net/snapshots/



"5.3 has no release."

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


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/bug.php?id=48866


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=48866&edit=1

Reply via email to