hi,
can someone shed some light on the main.inc.php config option
$rcmail_config['login_lc'] = false;
i have only lower case login names (login = full email address) and stumbled over the problem that, somewhere along the way to 0.5 final, my users created Office@domain.at or kathrin.Maier@domain.tld
a user now now tried to log in via "office@domain.at" and got an error because "Office@domain.at" already existed. Office@domain.at worked without any problem.
i do not quite understand if i need this to be true or false. what i want: forced lowercase for at least all roundcube usernames.
thanks, raoul
On Fri, Jan 28, 2011 at 12:11 PM, Raoul Bhatia [IPAX] r.bhatia@ipax.at wrote:
hi,
can someone shed some light on the main.inc.php config option
$rcmail_config['login_lc'] = false;
i have only lower case login names (login = full email address) and stumbled over the problem that, somewhere along the way to 0.5 final, my users created Office@domain.at or kathrin.Maier@domain.tld
a user now now tried to log in via "office@domain.at" and got an error because "Office@domain.at" already existed. Office@domain.at worked without any problem.
i do not quite understand if i need this to be true or false. what i want: forced lowercase for at least all roundcube usernames.
Hello,
we stumbled upon the same problem in our rc 0.5 installation. Unless you have some weird imap server that requires case sensitive usernames you *should* set $rcmail_config['login_lc'] to "true". If you don't then some of your users will use an upper/lower case combination for their username the first time they try to login and then they would have to stick with it or else will fail to login successfully with an error message like:
MDB2 Error: constraint violation (-3): _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_59ee766a0fe6d6645f1d52ec743dc1adb66c4b2e3 USING @0, @1, @2, @3] [Native code: 1062] [Native message: Duplicate entry 'user10-mail.server.tld' for key 'username']
After setting login_lc to true you would probably have to clean up the users table and make sure that all username entries are in lower case.
RC developers, consider setting the default value of login_lc to true or at least add it to the installer page with a proper notice.
Regards, Panagiotis
-- Panagiotis J. Christias Network Management Center P.Christias@noc.ntua.gr National Technical Univ. of Athens, GREECE _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80
On 02/04/2011 12:04 AM, Panagiotis Christias wrote:
MDB2 Error: constraint violation (-3): _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_59ee766a0fe6d6645f1d52ec743dc1adb66c4b2e3 USING @0, @1, @2, @3] [Native code: 1062] [Native message: Duplicate entry 'user10-mail.server.tld' for key 'username']
After setting login_lc to true you would probably have to clean up the users table and make sure that all username entries are in lower case.
thanks for helping me verify my thoughts.
RC developers, consider setting the default value of login_lc to true or at least add it to the installer page with a proper notice.
yeah - that is what puzzled me. login_lc defaulting to false :) i support your suggestion!
cheers, raoul