[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: URL-encoding noew mandatory with ldapi access ?
Guillaume Rousse writes:
> URI-encoding '/' character seems to be mandatory with openldap
> 2.4 clients (at least 2.4.9) now:
> (...)
> [root@stalingrad rousse]# ldapsearch -H ldapi:///var/run/ldap/ldapi
> DNS SRV: Could not turn DN="var/run/ldap/ldapi" into a domain
> -> NOK
>
> [root@stalingrad rousse]# ldapsearch -H
> 'ldapi://%2fvar%2frun%2fldap%2fldapi'
> -> OK
>
> is this intentional ?
Yes. Early OpenLDAP had a number of URI parsing bugs, which are
hopefully fixed now. This change is consequence of ITS#4879: Where
does the DN begin in ldapi:///foo/bar/cn=xy/z,dc=example,dc=com?
--
Hallvard