1

Topic: Cannot login to admin panel after password change.

==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04.2 LTS
- Related log if you're reporting an issue:
====

I have experienced exactly the same problem as in post " http://www.iredmail.org/forum/topic4052 … sword.html "
After applying the patch I got the following error:
patching file user.py
Hunk #1 FAILED at 306.
Hunk #2 FAILED at 315.
Hunk #3 FAILED at 597.
Hunk #4 FAILED at 615.
Hunk #5 FAILED at 657.
5 out of 5 hunks FAILED -- saving rejects to file user.py.rej

Still cannot login to admin panel as postmaster, although I can login via webmail.
Any solution?
Thanks in advance.

2

Re: Cannot login to admin panel after password change.

As you can see in patch output message, all patches were failed.

May i know which version of iRedAdmin you're running? iRedAdmin open source edition or Pro edition? If it's Pro edition, what's the version number (you can see it in Dashboard page after logged in)?

3

Re: Cannot login to admin panel after password change.

Open source edition, iRedMail-0.8.3

4

Re: Cannot login to admin panel after password change.

OK, you're running iRedAdmin-Pro open source edition. Please try this patch instead:
https://bitbucket.org/zhb/iredadmin-ose … 87b892dc73

5

Re: Cannot login to admin panel after password change.

Hello,
I have applied the patch, but still cannot login as postmaster "Error: Username or password is incorrect.". (webmail works fine)
Any other ideas?

6

Re: Cannot login to admin panel after password change.

Please make sure you have "mailbox.isadmin=1" and "mailbox.isglobaladmin=1" in SQL database "vmail" for this user. it was incorrectly reset with iRedAdmin (without patch).

7

Re: Cannot login to admin panel after password change.

Done & works.
Thank you.