SMTP AUTH and LDAP with aliases

From: Erich Schubert (no email)
Date: Sun Dec 01 2002 - 15:19:59 EST


I'd like to use SMTP AUTH and authenticate against my LDAP directory.
(Or even reuse the Courier Authentication Daemon i'm running anyway...)

The difficult part is that i'd like support for aliases.
That is, the users should be able to authenticate with their email
address and their password, not only with their login.

Think of such a record

dn: uid=tester,ou=People,dc=domain,dc=com
uid: tester
mail:
mailAlternateAddress:
userPassword: {crypt}...

I want people to be able to use their uid as well as their mail and
mailAlternateAddress attributes for authenticating.

This will need two LDAP queries; one to resolve the alias, the second
one to authenticate by rebinding (or should i avoid authenticating via
rebinding? i thought it was more compatible...).

Any idea how to do this in postfix?

Gruss,
Erich Schubert

-- 
        erich@(mucl.de|debian.org)        --        GPG Key ID: 4B3A135C
         There was never a good war or a bad peace. - Benjamin Franklin
        Die kürzeste Verbindung zwischen zwei Menschen ist ein Lächeln.
               Humor sollte immmer dabeisein, auch bei Problemen.







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD