[Dovecot] Passdb filter question - LDAP.

Lauro Costa G. Borges laurocgb at grad.ufsc.br
Wed Sep 1 22:32:59 EEST 2010



  I'm gonna try to ask more clearly, I guess I'm having a little  
difficulty to explain the problem.


  Dovecot 1.2
---

  I'm using LDAP passdb lookups, with prefetch.


  I have two places on my LDAP tree where I get user information: an  
identities subtree, and a services subtree.

  For LDA, I just search under the services subtree, it contains  
information about the user mail accounts.

  Every user has more than one mail account, all of them are located  
under the services subtree, and each contain an unique identifier  
field, that links them to one single user entry, under the identities  
subtree. There I store the user password (one password to all mail  
accounts).


--> Is it possible to make the passdb filter in a way it searches for  
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)?

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the dovecot mailing list