LDAP will return whatever the LDAP schema is defined as (for the case), which is "uid".
I took out the pass_attrs, but didn't appear to be working.
I then added: pass_attrs = uid
then, it was able to find the domain!
http://wiki.dovecot.org/AuthDatabase/LDAP is a bit confusing in the documentation of pass_attrs.
IMO, pass_attrs_map is a better name, since its used for mapping attributes from LDAP attributes to Dovecot names.
But, if "pass_attrs = uid" is working, what exactly is getting mapped to what?
On Jan 4, 2008 4:04 PM, Timo Sirainen tss@iki.fi wrote:
On Fri, 2008-01-04 at 08:12 -0800, Anil wrote:
pass_attrs = uid=user pass_filter = uid=%n
uid=user makes Dovecot change the full username to uid's value, which means it drops the domain. You could probably just leave pass_attrs empty. I don't remember if LDAP lookups are case-insensitive though. If they are, use %Ln and %Ld in your home and mail_location to avoid getting "user" and "User" and "uSer" directories.