Forum OpenACS Q&A: Re: Decode passwords

Collapse
4: Re: Decode passwords (response to 1)
Posted by Oscar Bonilla on
If you just want your users to have the same password in OpenACS and in IMAP and not have them automatically login from OpenACS to IMAP, you can just use the SHA encoded password with an IMAP that supports SHA encoded passwords.

For instance, I keep the encrypted password in the database and when a user changes a password the encrypted password is copied to an LDAP server which is used by IMAP to authenticate. Thus, the user has the same password in the email server and in OpenACS.

Regards,

-Oscar