Hello,

first of all, great work, well done for the script.

For my site, I would like to keep track of all the users and to be able to assign them roles. However, if everyone could use his own password stored on a central server, it would be great. The server is already set up, the IMAP access works perfectly.

For this task, I thought about IMAP Auth, but this only works for non registered users. How can I register everyone myself (I have tables for this), but then allow them to use the password stored on the central server?

Their login will be "user", the corresponding address on the IMAP server is user@host.com. So it seems to me that there is only a small step to do. It is quite similar to the issue here: http://drupal.org/node/75258

Thank you very much for your help,

Felix.

Comments

yecarrillo’s picture

Assigned: Unassigned » yecarrillo
Status: Active » Closed (works as designed)

Hello. Thanks for your request.

External auth with Drupal hasn't support for usersnames like "users". The part after "@" is what do the trick. This is by design.

Sorry.

felixsmile’s picture

Yes, this seems logical and far easier to program.

In this case, could the module check if the e-mail-address is in the database and, if yes, put the user in the "local" environment, giving him all his privileges (via roles)?

Thank you very much for your reply, and don't worry if it's not possible, it would just be a great feature, but not a critical one.

Felix

yecarrillo’s picture

Status: Closed (works as designed) » Closed (fixed)