[Date Prev][Date Next]
(ITS#7169) When using protocol address, port parameter is ignored on connect
Full_Name: Marcel Esser
OS: Ubuntu Lucid
Submission from: (NULL) (184.108.40.206)
When passing a protocol address (i.e. "ldap://127.0.0.1" instead of a plain
hostname/IP address, i.e. "127.0.0.1" to libldap, connect seems to ignore the
port number parameter and always use 389/636 instead.
Issue with libldap 2.4 on Ubuntu Lucid. Note that in the example below, the PHP
wrapper for libldap passes the strings on to the library unmodified. Detail
system information is at the bottom. Linked against /usr/lib/libldap-2.4.so.2
Use case illustrated in attached URL.