People are able to login with 'username' and 'username@domain.com' and it seems like this is resulting in two entries into the database, one for each. Is there a way to allow both to login, but only use one for the identity in the database?
thanks! micah
Wow, I was *just* about to send out the same question today. We also have multiples with the same issue.
I was hoping for a setting or plugin that would match a regular expression of a domain and truncate it (e.g. always remove '@domain.com').
In addition, our users also have "aliases" in their Open Directory account so some users could have 3 entries in the Roundcube Database:
username@domain.com username useralias
But they all point to the same user ID in the Open Directory... is there a way to make Roundcube a bit "smarter" in relation to these IDs? That would solve the both micah's issue as well as mine.
Thanks!
Chris Marcera System Administrator Press Enterprise, Inc.
Please note that my email address has changed!
Phone: 888.231.9767 x1352 Fax: 570.784.3057 E-Mail: chris.marcera@pressenterprise.net
On Jan 12, 2012, at 2:53 PM, Micah Anderson wrote:
People are able to login with 'username' and 'username@domain.com' and it seems like this is resulting in two entries into the database, one for each. Is there a way to allow both to login, but only use one for the identity in the database?
thanks! micah
--
-- List info: http://lists.roundcube.net/users/ BT/b3b6c596
No,
I think that it did not creating two entries. It is just alias - look in to your database to table "users" and there is column named "alias". I think, that this behaviour is OK.
P.S.: I had problem in similar category week ago (I needed to rewrite e-mail address for new users) and I created very very simple plugin (about five rows code :-), it was no problem.
2012/1/12 C. Marcera chris.marcera@pressenterprise.net:
Wow, I was *just* about to send out the same question today. We also have multiples with the same issue.
I was hoping for a setting or plugin that would match a regular expression of a domain and truncate it (e.g. always remove '@domain.com').
In addition, our users also have "aliases" in their Open Directory account so some users could have 3 entries in the Roundcube Database:
username@domain.com username useralias
But they all point to the same user ID in the Open Directory... is there a way to make Roundcube a bit "smarter" in relation to these IDs? That would solve the both micah's issue as well as mine.
Thanks!
- Chris
Chris Marcera System Administrator Press Enterprise, Inc.
Please note that my email address has changed!
Phone: 888.231.9767 x1352 Fax: 570.784.3057 E-Mail: chris.marcera@pressenterprise.net
On Jan 12, 2012, at 2:53 PM, Micah Anderson wrote:
People are able to login with 'username' and 'username@domain.com' and it seems like this is resulting in two entries into the database, one for each. Is there a way to allow both to login, but only use one for the identity in the database?
thanks! micah
--
-- List info: http://lists.roundcube.net/users/ BT/b3b6c596
-- List info: http://lists.roundcube.net/users/ BT/ae763bda
On 12.01.2012 21:52, C. Marcera wrote:
username@domain.com username useralias
If you have only one domain username_domain and/or mail_domain config options should be enough. Otherwise write a plugin similiar to virtuser_file/virtuser_query plugin.