Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 12092

Cannot Log into ClueBringer

$
0
0

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

Hi, I'm having problems logging into ClueBringer (and probably AWStats, I haven't checked). I've tried following this guide to try and resolve this. I've gotten further than before, but am now getting an Internal Server Error.

/apache/error.log wrote:

Failed to run mod-auth-mysql for /cluebringer/: No database name specified
AH01796: AuthType basic configured without corresponding module

Here are my configuration files (and the password listed for vmail has been changed, so what you see isn't actually the password):

/etc/apache2/apache.conf wrote:

#Auth_MySQL_Info 127.0.0.1 vmail La1QRIqW5aDGnHlhuP6ZWl345K6BwtZ1
#Auth_MySQL_General_DB vmail
<IfModule mod_dbd.c>
  DBDriver mysql
  DBDParams "host=127.0.0.1 dbname=vmail user=vmail pass=La1QRIqW5aDGnHlhuP6ZWl345K6BwtZ1"
  DBDMin 1
  DBDKeep 8
  DBDMax 20
  DBDExptime 300
</IfModule>

/etc/cluebringer/cluebringer.conf wrote:

# File generated by iRedMail:
#
#
# File generated by iRedMail:
#
# Version:  0.8.7
# Project:  http://www.iredmail.org/
#
# Community: http://www.iredmail.org/forum/
#

#
# SECURITY WARNING:
#
# Since libapache2-mod-auth-mysql doesn't support advance SQL query, both
# global admins and normal domain admins are able to login to this webui.

# Note: Please refer to /etc/apache2/sites-available/default-ssl.conf for SSL/TLS setting.

<Directory /usr/share/postfix-cluebringer-webui/webui/>
    DirectoryIndex index.php
    AuthType basic
    AuthName "Authorization Required"

    ##############################
    # mod_auth_mysql (deprecated)#
    ##############################
    # AuthMYSQL on
    # AuthBasicAuthoritative Off
    # AuthUserFile /dev/null
    #
    # # Database related.
    # AuthMySQL_Password_Table mailbox
    # Auth_MySQL_Username_Field username
    # Auth_MySQL_Password_Field password
    #
    # # Password related.
    # AuthMySQL_Empty_Passwords off
    # AuthMySQL_Encryption_Types Crypt_MD5
    # Auth_MySQL_Authoritative On

    #################
    # mod_authn_dbd #
    #################
    # Password related.
    AuthBasicProvider dbd
    AuthDBDUserPWQuery "SELECT password FROM mailbox WHERE mailbox.username=%s"

    Order allow,deny
    Allow from all
    Require valid-user
</Directory>

Can somebody please help me with this?

Thanks!


Viewing all articles
Browse latest Browse all 12092

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>