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>
Aki Tuomi
2022-Feb-10 11:52 UTC
Different handling of upper and lower case while indexing/searching with Solr
> On 10/02/2022 13:46 Patrik Peng <patrik.peng at hostpoint.ch> wrote: > > > 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_formatIt is applied, but, your sql database overrides it by having non-lowercased usernames. Aki