Re: Escaping of ldapi:// URIs (1.19rc4)

Simon Horman <[email protected]>
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
On Thu, Sep 23, 2010 at 02:14:09PM +0200, Ivan Nejgebauer wrote:
> When connecting to an LDAP server with the ldapi: URI scheme (using
> 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.
> 
> i.

Thanks Ivan, that looks good to me.
I'll push it into the tree once 1.19 has been released.

______________________________________________
Perdition-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/perdition-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.