1

Topic: Roundcube webmail can not change password in centos6

==== Provide basic information to help troubleshoot and get quick answer ====
- iRedMail version:
     0.73

  iRedMail-Pro Version:
     LDAP 1.62

- Linux/BSD distribution name and version:
[root@mail ~]# cat /proc/version
Linux version 2.6.32-71.el6.i686 (mockbuild@c6b5.bsys.dev.centos.org) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Fri Nov 12 04:17:17 GMT 2010

- Any related log? Log is helpful for troubleshooting.
1. iredmail all plugins are work's good.
2. iredmail-pro can change user's password
3. roundcube webmail logon sucess,but change password notice"could not save new password"
4. set ldap and mail log level on debug,but openldap log,maillog,apache log and system message see to ok.
5. reinstall iredmail on centos5.5,this function(change password)is ok
======== Provide basic information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====

Post's attachments

20111213232003.png
20111213232003.png 6.12 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roundcube webmail can not change password in centos6

It's a bug in iRedMail, fixed moment ago. Thanks for your feedback. smile

Root cause: Since CentOS 6 doesn't have PHP mhash module, it cannot generate password in SSHA format.
Solution: Please edit /var/www/roundcubemail/plugins/password/config.inc.php, change value of "password_ldap_encodage" to one of "mcrypt", "md5crypt". For example:

$rcmail_config['password_ldap_encodage'] = "md5crypt";

You can also try others which mentioned in file "plugins/password/config.inc.php", please note that most encodage types require external libraries to be included in your PHP installation, see function hashPassword in "plugins/password/drivers/ldap.php" for more info.

3 (edited by waring_id 2011-12-30 16:11:34)

Re: Roundcube webmail can not change password in centos6

Thank you very much,follow you change ,the change password is OK!!!

4

Re: Roundcube webmail can not change password in centos6

please help me
i changed it : $rcmail_config['password_ldap_encodage'] = "md5crypt";
nd nw showing 3 box
1.Current Password:   
2.New Password:   
3.Confirm New Password:

but its not working
i getting the error :
Could not save new password

hw i set it plzz help me

5

Re: Roundcube webmail can not change password in centos6

Dear mkmobi,

Please check Roundcube log file (the same file as Postfix log file) first, paste related log here to help troubleshoot.