Doc #51786 [Opn->Bgs]: ldap_connect using host like ldaps://... ignores port parameter
| From: | bjori@php.net | Date: | Tue, 11 May 2010 09:11:11 +0000 |
| Subject: | Doc #51786 [Opn->Bgs]: ldap_connect using host like ldaps://... ignores port parameter | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4349@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51786&edit=1
ID: 51786
Updated by: bjori@php.net
Reported by: andreas at andreaswacker dot com
Summary: ldap_connect using host like ldaps://... ignores port
parameter
-Status: Open
+Status: Bogus
Type: Documentation Problem
Package: Documentation problem
Operating System: linux
PHP Version: 5.2.13
New Comment:
That is already documented:
"port
The port to connect to. Not used when using URLs."
See http://no2.php.net/ldap_connect
Previous Comments:
------------------------------------------------------------------------
[2010-05-10 20:09:43] andreas at andreaswacker dot com
Description:
------------
Actually I am running PHP 5.2.12
Sorry for the noise if this has been addressed.
ldap_connect can accept a host name and a port number.
When the host name is specified via ldaps://hostnamehere/ then
the port number given as a parameter will be ignored.
The workaround is easy:
ldaps://hostnamehere:portnumber
works. Easiest would be to update the documentation I guess.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51786&edit=1