1

Topic: Reset all admin password

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

Hi, I very bad speak English. There was an old server 0.7.X the old administrator was fired and now I'm in his place. Migrated all users and mail to the new server. Almost all works, but I can not enter at https://domain/cluebringer. Not a valid username and password

----

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

2

Re: Reset all admin password

WestDragon wrote:

I can not enter at https://domain/cluebringer

With iRedMail-0.8.2, you can mark normal user as domain admin, then login to httpS://domain/cluebringer/.

3

Re: Reset all admin password

ZhangHuangbin wrote:
WestDragon wrote:

I can not enter at https://domain/cluebringer

With iRedMail-0.8.2, you can mark normal user as domain admin, then login to httpS://domain/cluebringer/.

I created a user, but still a problem.

Server return:

Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Just have a problem with IMAP. When entering https://Domain/mail sometimes produces an error log on to IMAP server and then https://Domain/mail stonovitsya completely unavailable, but the mail comes.

4

Re: Reset all admin password

Here is part of the log file:

Oct 11 09:27:13 mail roundcube: IMAP Error: Login failed for ********@domain from 217.21.54.74. Empty startup greeting (127.0.0.1:143) in /usr/share/apache2/roundcubemail-0.8.1/program/include/rcube_imap.php on line 191 (GET /mail/?_task=mail&_action=getunread&&_remote=1&_unlock=0&_=1349936839314)

here's what's on the line:

else if ($this->conn->error) {
            if ($pass && $user) {
                $message = sprintf("Login failed for %s from %s. %s",
                    $user, rcmail_remote_ip(), $this->conn->error);

                raise_error(array('code' => 403, 'type' => 'imap',
                    'file' => __FILE__, 'line' => __LINE__,
                    'message' => $message), true, false);
            }
        }

5

Re: Reset all admin password

WestDragon wrote:

I created a user, but still a problem.

How did you create this user? With iRedAdmin?

6

Re: Reset all admin password

ZhangHuangbin wrote:
WestDragon wrote:

I created a user, but still a problem.

How did you create this user? With iRedAdmin?

Yes.

7

Re: Reset all admin password

WestDragon wrote:

Yes.

Could you please paste me the LDIF data of this user? You can export it with phpLDAPadmin.

8 (edited by WestDragon 2012-10-18 12:59:45)

Re: Reset all admin password

ZhangHuangbin wrote:
WestDragon wrote:

Yes.

Could you please paste me the LDIF data of this user? You can export it with phpLDAPadmin.

# Экспорт LDIF for mail=westdragon@*****.ru,o=domainAdmins,dc=*****,dc=ru
# Сервер: My LDAP Server (127.0.0.1)
# Область поиска: base
# Фильтр поиска: (objectClass=*)
# Всего записей: 1
#
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on October 18, 2012 4:56 am
# Version: 1.2.2

version: 1

# Запись 1: mail=westdragon@*****.ru,o=domainAdmins,dc=*****,dc...
dn: mail=westdragon@******.ru,o=domainAdmins,dc=******,dc=ru
accountstatus: active
cn: WestDragon
domainglobaladmin: yes
mail: westdragon@******.ru
objectclass: mailAdmin
preferredlanguage: ru_RU
userpassword: {SSHA}KoreIhC2fJqT+0WAOdU/K1rwsosySNZVPnbP5g==

9

Re: Reset all admin password

WestDragon wrote:

I can not enter at https://domain/cluebringer. Not a valid username and password

Oops, sorry about this issue, this is a bug in iRedMail-0.8.2, please fix it by following our upgrade tutorial here:
http://www.iredmail.org/doc.html#upgrade_tutorial
You should upgrade from iRedMail-0.8.2 to 0.8.3.