Bug #48866 [Fbk->NoF]: ldap.conf TLS_REQCERT directive fails for ldaps

From: Date: Mon, 18 Feb 2013 00:33:58 +0000
Subject: Bug #48866 [Fbk->NoF]: ldap.conf TLS_REQCERT directive fails for ldaps
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-176751@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=48866&edit=1

 ID:               48866
 Updated by:       php-bugs@lists.php.net
 Reported by:      dev at lechat dot org
 Summary:          ldap.conf TLS_REQCERT directive fails for ldaps
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          LDAP related
 Operating System: win32 only - windows server 2003
 PHP Version:      5.3.0
 Assigned To:      pajoye

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2012-01-12 16:47:21] mo at dgi dot no

Hello!

I'm still experiencing this issue in PHP 5.3.8 on IIS 7, Win 2008 R2. The most 
peculiar thing is that this issue also arises even though the server has installed 
the trusted root CA cert which have issued the LDAP-server cert. I also use the 
LDAP-servers FQDN which matches the cert. 

It strikes me as almost funny to have to disable cert-cheking on a cert i know is 
valid. Any one else been experiencing this?

------------------------------------------------------------------------
[2011-03-28 21:00:38] ocala at udistrital dot edu dot co

OS: Windows 7 64 Bit.
PHP Version 5.3.0
Apache Version 2.2.11
Blunded Like Wamp

Wamp installed in C:\wamp
Script running in G:\www\test.php

LDAP Configuration file in C:\ldap.conf

This settings allows a working ldaps:// connection to a Windows 2008 R2

------------------------------------------------------------------------
[2011-03-21 14:26:51] lorenz dot ulrich at phz dot ch

In my Windows 7 machine with PHP 5.3.1, "TLS_REQCERT never" in a file
"C:\ldap.conf" (was C:\openldap\sysconf\ldap.conf for PHP < 5.3) works fine for
establishing StartTLS LDAP connections using port 389.

------------------------------------------------------------------------
[2011-01-27 12:10:46] julien dot moisan at agrostar dot fr

Same trouble with PHP 5.3.0 with Windows

when i move ldap.conf to c:/ that's work fine.

------------------------------------------------------------------------
[2010-11-10 16:53:06] tegwe002 at umn dot edu

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.

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


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

    https://bugs.php.net/bug.php?id=48866


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


Thread (28 messages)

« previous php.bugs (#176751) next »