[Dovecot] Using auth_bind_userdn causes uid to be improper case
Aaron Luchko
aaron at luchko.ca
Sat Mar 3 04:44:43 EET 2007
On Fri, 2007-03-02 at 23:27 +0200, Timo Sirainen wrote:
> On 2.3.2007, at 22.49, Aaron Luchko wrote:
>
> > It seems like when I log in with auth_bind_userdn %u is being left as
> > the value I logged in with rather than being reloaded from LDAP. I was
> > wondering if I have made some mistake in the configuration files to
> > cause this behaviour or if something else is going on?
>
> That's kind of the point of auth_bind_userdn. It avoids one LDAP
> lookup which would get the uid from LDAP. It might be possible to
> also do this later by adding uid=user in user_attrs, but I'm not sure
> about this. You could however use eg. %Lu in the auth_bind_userdn to
> make the username always lowercase.
user_attrs = mail, uid=user
Didn't make any difference but
mail_location = maildir:/var/spool/mail/%Lu/
Did make everything lowercase (now I just need to find a way to have
postfix cast the result_attribute to lower case as well...).
thanks for the help.
Aaron
More information about the dovecot
mailing list