On Wed, Apr 01, 2009 at 11:34:50AM +0000, Nathan Kinkade wrote:
On Wed, 1 Apr 2009 10:42:08 +0100, "Mahmoud M'HIRI" mahmoud.mhiri@gmail.com wrote:
Hello,
I installed RoundCube and it's working perfectly. Besides, I want that users of our extranet get into their inboxes directly from a link in our collaboration platform, so how can I send a request to rcube so it logs users directly without asking for login/pwd.
PS: I'm aware that I have to store IMAP login/pwd for each user in my collaboration platform database.
Thanks in advance,
Best Regards
Change index.php per the following patch, then you should then be able to login with a URL like:
http://yoursite.com/webmailpath/?_action=login&_timezone=<someoffset>&_user=<username>&_pass=<password>
*snip*
However, you should be extra careful with this, as the user's login will be in plain text in the web page and anyone walking up to the computer can just hover over the link and see the credentials. A better approach might be to have your system start a session for the user in the background, and then just provide a link to the URL for webmail and they will already be logged in.
I think that nobody really wants to do it that way.
I think that Kerberos authentication (like in a windows domain) together with Apaches kerberos-plugin will do fine.
Tgis will (in most cases) create a username like username@MYDOMAIN.COM. Roundcube just has to mege this into its user-system.
But since I'm now using Roundcube as a single user only (without a windows domain) I just can dream about it.
List info: http://lists.roundcube.net/users/