On Dec 12, 2008, at 1:35 PM, Quanah Gibson-Mount wrote:
--On Friday, December 12, 2008 1:27 PM -0600 Graham Barr <gb...@pobox.com
> wrote:
On Dec 12, 2008, at 1:15 PM, Quanah Gibson-Mount wrote:
I'm trying to make an ldapi:/// connection using Net::LDAP, and it
doesn't seem to work right.
Net::LDAP is going to default to connect to /var/run/ldapi if that
is not
where your socket is
the you can either set $ENV{LDAPI_SOCK} or put the path in the uri
passed.
ldapi: uri's are strange that the path to the socket needs to be
encoded
as the hostname, for
example the uri to specify "/var/run/ldapi" is
ldapi://%26var%26run%26ldapi/
Ok, that's good to know. Although it is %2f and not %26. %26 is
&. :)
Hey, I just copy-paste from the RFC draft :-) albeit an expired one
https://opends.dev.java.net/public/standards/draft-chu-ldap-ldapi.txt
Graham.