On Thu, Sep 23, 2010 at 02:14:09PM +0200, Ivan Nejgebauer wrote:
When connecting to an LDAP server with the ldapi: URI
a UNIX domain socket), the "host" portion of the URI contains the
full path to the socket special file. Forward slash characters in
the path must be URL-escaped to avoid confusion with the slashes
that delimit the components of the URI itself. The function
perdition_ldap_uri() in perdition/db/ldap/perditiondb_ldap.c doesn't
handle ldapi:// URIs in any special way, which makes it impossible
to use such URIs for contacting the LDAP server. The attached patch
adds ldapi:// recognition and path escaping to that function.
Thanks Ivan, that looks good to me.
I'll push it into the tree once 1.19 has been released.