Aki Tuomi
2022-Feb-10 10:25 UTC
Different handling of upper and lower case while indexing/searching with Solr
> On 10/02/2022 11:58 Patrik Peng <patrik.peng at hostpoint.ch> wrote: > > > On 10.02.22 10:43, Aki Tuomi wrote: > > Probably easiest fix is to fix the users in database to all lowercase, as you are likely returning `user` attribute in your SQL queries. > We thought about this as well, but there are 500+ affected accounts and > they are used by our customers which would mean for each of them to > reconfigure all their clients.You can configure dovecot with auth_username_format=%Lu which downcases the username provided by the customer, as well. Aki
Patrik Peng
2022-Feb-10 11:46 UTC
Different handling of upper and lower case while indexing/searching with Solr
On 10.02.22 11:25, Aki Tuomi wrote:> You can configure dovecot with > > auth_username_format=%Lu > > which downcases the username provided by the customer, as well.According to the docs [1], is '%Lu' already the default and this value is not changed in our config. I guess 'auth_username_format=%Lu' is not applied when a user is performing a search via FTS. - [1] https://doc.dovecot.org/settings/core/#core_setting-auth_username_format -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20220210/0e79167f/attachment-0001.sig>