ldap attribute modifiers. how to lowercase non ASCII

Timo Sirainen tss at iki.fi
Mon Aug 24 16:39:57 UTC 2015


On 28 Jul 2015, at 18:15, matthias lay <matthias.lay at securepoint.de> wrote:
> 
> hi all,
> 
> I encountered some problem with lowercasing chars like an "Ä"
> 
> with user_attrs like this:
> 
> user_attrs = uid=home=/mail/%Lu, =myvar=%L{ldap:uid}
> 
> the Ä doesnt get lower cased in both cases

There are various different algorithms to lowercase non-ASCII characters. Dovecot even has some code to do it if libicu is compiled in. Still, I'm not planning changing %L behavior anytime soon. Non-ASCII usernames don't work especially well now and I don't even want to try to support them well right now. That would require bigger design changes.



More information about the dovecot mailing list