On Fri, 2009-10-16 at 14:18 -0400, Mark Schaub wrote:
As far as I can tell userdb ldap queries are run using the user specified in dn with the password specified in dnpass. I know those fields are correct as userdb has no problem querying users by sAMAccountName or mail attributes. I also know that the user_filter string works as I can run an ldapsearch using dn, dnpass, and user_filter and that returns the correct information. For some reason when the deliver process does this nothing is returned.
What about pass_filter, does that work with imap/pop3 logins?
As I mentioned in the initial post, some fields work and others do not. If I change the filter to look for sn=%n and try to deliver to my last name then it delivers fine. If I set the filter to title=%n and try to deliver to my title then I get the same problem as with otherMailbox.
Weird.
Is there schema information dovecot is using that defines certain userdb attributes it can and can't use?
No.