1 (edited by labasus 2012-10-15 03:32:40)

Topic: Can't login into Cluebringer GUI on Ubuntu

==== Required information ====
- iRedMail version: 0.8.3
- iRedAdmin-Pro-LDAP - 1.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04.1 LTS
====


Trying to login into httpS://your_server.com/cluebringer/

Using first domain and global admin as login - postmaster@domain.tld
Password - xxx

But can't login, I've got login window again and these logs:

1) /var/log/apache2/error.log
[Sun Oct 14 19:50:12 2012] [error] [client 192.168.10.114] user postmaster@domain.tld not found: /cluebringer
[Sun Oct 14 19:51:10 2012] [error] [client 192.168.10.114] user test@domain2.tld not found: /cluebringer
2) tail -f /var/log/cbpolicyd.log (with log level 4 for debug)
Without errors


I've tried to make another domain and user with increased to global admin permissions - the same result.

---

Temp solution to remove in /etc/apache2/conf/cluebringer.conf one string:
# Require valid-user

Then I can login without any authorization.

Another temp solution to make htaccess users, but iRedAmin globals admins can't login...

2

Re: Can't login into Cluebringer GUI on Ubuntu

Could you paste me full file of /etc/apache2/conf/cluebringer.conf? Remove password before pasting.

3

Re: Can't login into Cluebringer GUI on Ubuntu

<Directory /usr/share/postfix-cluebringer-webui/webui/>
    DirectoryIndex index.php
    Options ExecCGI
    Order allow,deny
    #allow from 127.0.0.1
    allow from all

    AuthType basic
    AuthName "Authorization Required"
    AuthType Basic

    AuthBasicProvider ldap
    AuthzLDAPAuthoritative   Off

    AuthLDAPUrl   ldap://127.0.0.1:389/o=domainAdmins,dc=domain,dc=tld?mail?sub?(&(objectclass=mailAdmin)(accountStatus=active)(domainGlobalAdmin=yes))

    AuthLDAPBindDN "cn=vmail,dc=domain,dc=tld"
    AuthLDAPBindPassword "xxx"

    Require valid-user
</Directory>

ZhangHuangbin wrote:

Could you paste me full file of /etc/apache2/conf/cluebringer.conf? Remove password before pasting.

4

Re: Can't login into Cluebringer GUI on Ubuntu

Oh, bug in iRedMail. AuthLDAPUrl should be:

    AuthLDAPUrl   ldap://127.0.0.1:389/o=domains,dc=domain,dc=tld?mail?sub?(&(objectclass=mailUser)(accountStatus=active)(domainGlobalAdmin=yes))

5

Re: Can't login into Cluebringer GUI on Ubuntu

This one works, Thx!!!
you can mark the post as resolved and fix this bug for future versions.