Roundcube Community Forum

 

Login failed at website GUI but IMAP server shows successful authentication

Started by gopher49, July 08, 2013, 02:19:54 PM

Previous topic - Next topic

gopher49

My IMAP and SMTP tests are successful via the installer page...  I set authentication for them and everything tested okay.  I then removed the username and password from config file for I figure the end user will login via the website GUI.  When a user logs into the website GUI they get a login failed error, however, the IMAP server shows successful authentication.  See below.  I even put username and PWs back into the config and I get the same results.  My server host is 'ssl://ipaddress' and the ports are 993 and 465.  What am I doing wrong? 

9   "2013-07-08 13:20:01.869"   "192.168.160.18"   "SENT: * OK IMAPrev1"
"IMAPD"   7372   49   "2013-07-08 13:20:01.871"   "192.168.160.18"   "RECEIVED: A0001 CAPABILITY"
"IMAPD"   7372   49   "2013-07-08 13:20:01.871"   "192.168.160.18"   "SENT: * CAPABILITY IMAP4 IMAP4rev1 CHILDREN IDLE QUOTA SORT ACL NAMESPACE RIGHTS=texk[nl]A0001 OK CAPABILITY completed"
"IMAPD"   7372   49   "2013-07-08 13:20:01.874"   "192.168.160.18"   "RECEIVED: A0002 LOGIN [email protected] ***"
"IMAPD"   7372   49   "2013-07-08 13:20:01.907"   "192.168.160.18"   "SENT: A0002 OK LOGIN completed"
"IMAPD"   10604   49   "2013-07-08 13:20:01.910"   "192.168.160.18"   "RECEIVED: A0003 NAMESPACE"
"IMAPD"   10604   49   "2013-07-08 13:20:01.911"   "192.168.160.18"   "SENT: * NAMESPACE (("" ".")) NIL (("#Public" "."))[nl]A0003 OK namespace command complete"
"IMAPD"   7416   49   "2013-07-08 13:20:01.933"   "192.168.160.18"   "RECEIVED: A0004 LOGOUT"
"IMAPD"   7416   49   "2013-07-08 13:20:01.934"   "192.168.160.18"   "SENT: * BYE Have a nice day[nl]A0004 OK Logout completed"
"DEBUG"   7416   "2013-07-08 13:20:01.935"   "Closing TCP/IP socket"
"DEBUG"   7416   "2013-07-08 13:20:01.935"   "Ending session 49"

gopher49

Below is the errors I see when enabling debug.. help!!

DB Error in D:\wwwroot\program\lib\Roundcube\rcube_db.php (416): [1467] Failed to read auto-increment value from storage engine (SQL Query: INSERT INTO users (created, last_login, username, mail_host, language) VALUES (now(), now(), '[email protected]', '127.0.0.1', 'en_US'))
PHP Error in D:\wwwroot\program\lib\Roundcube\rcube_user.php (567): Failed to create new user
PHP Error in D:\wwwroot\program\include\rcmail.php (525): Failed to create a user record. Maybe aborted by a plugin?

SKaero

Make sure the RoundCube database is setup and has all of the tables.