Hi Roberto!

On Mon, 07 May 2007, Roberto C. Sanchez wrote:

> Please update mutt_ldap_query to allow the use of a local UNIX domain
> socket (i.e., ldapi:/// or /var/run/ldapi) for communication to the LDAP
> server.

Such a feature was introduced with version 0.35.1 but not fully
documented (the documentation only talks ablout ldaps://, but ldapi://
should work in a similar way).  You can give an ldapi URI in hostname
field.  According to Net::LDAP following should be possible there:

You can also specify a URI, such as 'ldaps://127.0.0.1:666' or
'ldapi://%2fvar%2flib%2fldap_sock'. Note that '%2f's in the LDAPI
socket path will be translated into '/'. This is to support LDAP query
options like base, search etc. although the query part of the URI will
be ignored in this context. If port was not specified in the URI, the
default is either 389 or 636 for 'LDAP' and 'LDAPS' schemes
respectively.

I don't haven an ldaps server available, so please try this out and
tell me whether it works for you.

Tschoeeee

        Roland

Attachment: pgp81D6hYhQ9m.pgp
Description: PGP signature

Reply via email to