[exim] Exim and LDAP over socket

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Torben Janssen
Date:  
À: exim-users
Sujet: [exim] Exim and LDAP over socket
Hi,

I just updated openldap on one exim server and I tried to use ldapi
(ldap over socket) instead of ldap on localhost. I used ldap over
tcp/ip on localhost for a longer time now and the update is a good
chance to change this.

Unfortunaly, it does not work as expected. Other programs (courier-imap)
can bind to slapd - so it is not a ldap server error i guess.

works not:
accept senders = ${lookup ldap
{ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock/ou=whitelist,dc=server,dc=com?cn?one?(cn=${quote_ldap:$sender_address})}}

works:
accept senders = ${lookup ldap
{ldap:///ou=whitelist,dc=server,dc=com?cn?one?(cn=${quote_ldap:$sender_address})}}

Exim version 4.63 #1 built 23-Aug-2006 06:12:06
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
dsearch ldap ldapdn ldapm mysql passwd pgsql sqlite

Anyone using ldapi with openldap and exim?

thank you
Torben