[Dovecot] Passdb filter question - LDAP.

Timo Sirainen tss at iki.fi
Wed Sep 1 22:38:54 EEST 2010


On Wed, 2010-09-01 at 16:32 -0300, Lauro Costa G. Borges wrote:

> --> Is it possible to make the passdb filter in a way it searches for  

If you can get the wanted fields by running ldapsearch command line tool
once, you can do it with Dovecot's filters.

> the mail account information (under services), there it gets the value  
> of the unique identifier field, and then perform another search on the  
> LDAP tree, but not using the "mail" (%u) as a query, instead it uses  
> the value of the unique identifier, to get the password (under the  
> identities subtree)?

Sounds like two lookups, which isn't supported.

If passdb/userdb ldap isn't enough for this, you could always use
passdb/userdb checkpassword.



More information about the dovecot mailing list