[Exim] Exim and LDAP Authentication

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tim Tassonis
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Exim and LDAP Authentication
Hi all

Is the following possible in Exim4?

- Authenticate a user using LDAP authentication
- Requiring that the from address matches the authenticated user.


Example:

There would be an LDAP entry like this:

dn: uid=timtas,dc=dplanet,dc=ch
uid: timtas
userPassword: manager
mail: timtas@???

So, in the authentication phase, Exim would try to bind to the LDAP server
by:
- Looking up the dn based on the sumitted userid, timtas
- Bind with the dn and the submitted password.

When the client sends the MAIL FROM: header, Exim would already know the
authenticated userid and would then lookup the entry using the filter
(&(uid=$AUTHENTICATED_USERID)(mail=$ADDRESS_IN_MAIL_FROM_HEADER))

Can this be done?

Bye
Tim