[Dovecot] [Bug] Case sensitive usernames and variables

Неворотин Вадим nevorotin at gmail.com
Wed May 5 15:18:32 EEST 2010


2010/5/5 Steffen Kaiser <skdovecot at smail.inf.fh-brs.de>
>
> First:
> Is it a typo or did you replaced %%u by %Lu ? Note the different number of
> %'s.
>


No, of course I try to replace %u with %Lu. And also %%u with %%Lu. It's not
working, so I think it's a bug.


> Second:

You can have passdb return set/overwrite "user", just return the
> "normalized" variant of the username as "user" field:
> http://wiki.dovecot.org/PasswordDatabase/ExtraFields
>

I use LDAP for passdb and I can't be sure that in LDAP all my users has
lovercase usernames. But I've found option

auth_username_format = %Lu

It's look like what I need, thank you!


More information about the dovecot mailing list