[Date Prev][Date Next]
RE: (ITS#8618) ldapsearch - unexpected behavior with
I was wrong. It is not the lack of port that causes it to fail.
On the third line of the output below you can see the ldapsearch request wi=
thout the port has tried to construct a uri by appending "ldap://" to anoth=
er ldap uri.
$ ldapsearch -x -d 255 -h ldap://localhost
Could not create LDAP session handle for URI=3Dldap://ldap:
%2F%2Flocalhost (-9): Bad parameter to an ldap routine
If you also specify the port it does not try to append "ldap://" to the fro=
nt of the hostname/uri. From an external point of view the behaviour is cor=
rect in that the command fails but the internal behaviour of the code is no=
t as intended.
From: Alexandre Rosenberg [mailto:email@example.com]=20
Sent: 04 March 2018 12:30
To: Lawrence, Andy (MO MM R&D UK IXL); openldap-its@OpenLDAP.org
Subject: Re: (ITS#8618) ldapsearch - unexpected behavior with