| Summary | Horde/Ldap.php gives connection error with ldaps:// server. |
| Queue | Horde Framework Packages |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | jan (at) horde (dot) org |
| Requester | pouyan.azari (at) uni-wuerzburg (dot) de |
| Created | 02/11/2015 (3919 days ago) |
| Due | |
| Updated | 02/12/2015 (3918 days ago) |
| Assigned | 02/12/2015 (3918 days ago) |
| Resolved | 02/12/2015 (3918 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
State ⇒ Feedback
commit 08018cb1b078c3e7576dbb4bee4477484cd7745e
Author: Jan Schneider <jan@horde.org>
Date: Thu Feb 12 12:42:43 2015 +0100
[jan] Fix connection if using ldaps:// scheme (
Bug #13858).framework/Ldap/lib/Horde/Ldap.php | 4 +++-
framework/Ldap/package.xml | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/08018cb1b078c3e7576dbb4bee4477484cd7745e
Version ⇒
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Horde/Ldap.php gives connection error with ldaps:// server.
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
After updating to version 5.2.5 from the previous one, Ldap.php gives
connection error. I checked a little bit and I think it could be the
line:
@fsockopen($host, $this->_config['port'], $errno, $errstr,
$this->_config['timeout']))
when you set $host=ldaps://auth.host.com it dosen't work. with
ldap_connect it has no problem to connect.
*http://php.net/manual/en/function.fsockopen.php
*http://php.net/manual/en/function.ldap-connect.php