[imp] Connection problem: IMAP, SuSE 10.3, Horde Groupware 1.1.2

Wurzer Roland r.wurzer at frankedata.de
Fri Aug 29 09:36:16 UTC 2008


Hello,

 

I´ve got a problem with my connection to horde via webbrowser.

 

I´m running Horde Groupware 1.1.2 on an openSuSE 10.3 system. 

 

PHP Version: 5.2.6

 

IMAP Server is configured over xinetd. 

 

The files /horde/test.php and /horde/imp/test.php returned that all of my configurations are supported by Horde. 

 

I configured /horde/imp/config/servers.php as it´s given from /imp/test.php

 

Configuration 1 

'server' => 'localhost'

'protocol' => 'imap/ssl/novalidate-cert'

'port' => '993'

 

Configuration 2 

'server' => 'localhost'

'protocol' => 'imap/tls/novalidate-cert'

'port' => '143'

 

 

I tried both configurations, but none of them works!!! 

 

When I try to login to horde the server return "Login failed" but the strange thing is, when I run /imp/test.php with my server, username and password the file return this:

 

*	Trying protocol imap/tls/novalidate-cert, Port 143: 

SUCCESS - INBOX has 1 messages (1 new 0 recent)

That´s very strange. Test.php can log in to horde and it returns that I have 1 message inbox!!

 

 

Messages in /var/log/mail after try to login:

 

Aug 29 10:16:17 testlinux imapd[5787]: imap service init from 127.0.0.1

Aug 29 10:16:17 testlinux imapd[5787]: Logout user=??? host=localhost [127.0.0.1]

Aug 29 10:16:17 testlinux imapd[5791]: imaps SSL service init from 127.0.0.1

Aug 29 10:16:17 testlinux imapd[5791]: Unexpected client disconnect, while reading line user=??? host=SSH_CLIENT=192.168.11.211

Aug 29 10:16:17 testlinux imapd[5795]: imaps SSL service init from 127.0.0.1

Aug 29 10:16:17 testlinux imapd[5795]: Authenticated user=frankedata host=localhost [127.0.0.1] mech=PLAIN

Aug 29 10:16:17 testlinux imapd[5799]: imap service init from 127.0.0.1

Aug 29 10:16:17 testlinux imapd[5799]: Authenticated user=frankedata host=localhost [127.0.0.1] mech=PLAIN

Aug 29 10:16:17 testlinux imapd[5795]: Logout user=frankedata host=localhost [127.0.0.1]

Aug 29 10:16:17 testlinux imapd[5799]: Logout user=frankedata host=localhost [127.0.0.1]

Aug 29 10:16:18 testlinux imapd[5803]: imaps SSL service init from 127.0.0.1

Aug 29 10:16:18 testlinux imapd[5803]: Authenticated user=frankedata host=localhost [127.0.0.1] mech=PLAIN

Aug 29 10:16:18 testlinux imapd[5803]: Logout user=frankedata host=localhost [127.0.0.1]

 

 

Messages in /tmp/horde.log:

 

Aug 29 10:07:07 HORDE [error] [imp] FAILED LOGIN for frankedata [192.168.11.211] to {localhost:993 [imap/ssl/novalidate-cert]} [pid 5489 on line 139 of "/srv/www/htdocs/horde/imp/lib/Auth/imp.php"]

Aug 29 10:07:07 HORDE [error] [kronolith] MDB2 Error: insufficient permissions: _doQuery: [Error message: Could not execute statement]

[Last executed query: SELECT s.*  FROM kronolith_shares s  WHERE (s.perm_guest & 2) <> 0 ORDER BY s.attribute_name ASC]

[Native code: 1142]

[Native message: SELECT command denied to user 'horde'@'localhost' for table 'kronolith_shares']

 [pid 5489 on line 422 of "/srv/www/htdocs/horde/lib/Horde/Share/sql.php"]

Aug 29 10:07:07 HORDE [error] [kronolith] MDB2 Error: insufficient permissions: _doQuery: [Error message: Could not execute statement]

[Last executed query: SELECT s.*  FROM kronolith_shares s  WHERE (s.perm_guest & 2) <> 0 ORDER BY s.attribute_name ASC]

[Native code: 1142]

 

 

The User horde has all permissions for database horde and its tables!!! 

 

I don´t know how to solve this problem. Test.php return "It works" => horde return "Login failed"... *confused*

 

Are there any packets in php which should be disabled? 

 

Many thanks in advance!!!

 

rw



More information about the imp mailing list