ldapi:// with path
Michael Ströder
michael at stroeder.com
Mon Jun 29 11:01:40 CEST 2015
HI!
Testing git v3.1.x 36e1b02e926df5cd75d4d548694401535c607ca9 I noticed that
something's wrong with LDAPI URLs containing a URL-encoded path.
This does not work:
server = 'ldapi://%2Ftmp%2Fopenldap-socket'
leads to:
rlm_ldap (ldap): Bind with uid=radiusd,ou=sys,dc=stroeder,dc=local to
ldapi:///tmp/openldap-socket failed: Can't contact LDAP server
I'm not sure whether radiusd URL-decodes the path and passes
"ldapi:///tmp/openldap-socket" to libldap or whether the decoding simply
happens when writing the log line.
It should *not* do URL-decoding because parsing the LDAP URL
"ldapi:///tmp/openldap-socket" in libldap won't work since the first "/" after
the "hostport" part is the next separator to the DN portion.
Ciao, Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4272 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150629/65956b10/attachment.bin>
More information about the Freeradius-Users
mailing list