[Tickets #6043] Re: php-error on login page caused by lib/Horde/Share.php (kolab)

bugs at horde.org bugs at horde.org
Mon Mar 3 14:33:20 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://dev.horde.org/horde/whups/ticket/6043
-----------------------------------------------------------------------
 Ticket             | 6043
 Updated By         | m.gabriel at das-netzwerkteam.de
 Summary            | php-error on login page caused by lib/Horde/Share.php (kolab)
 Queue              | Kolab
 Type               | Bug
 State              | Feedback
 Priority           | 3. High
 Milestone          | 
 Patch              | 
 Owners             | Gunnar Wrobel
-----------------------------------------------------------------------


m.gabriel at das-netzwerkteam.de (2008-03-03 09:33) wrote:

hi gunnar,

> ISSUE 1 (probably needs a separate ticket):
> -------------------------------------------------
> when i visit my horde website i observe quite a delay loading the 
> page (you can currently also view the php-error there that is 
> described below):
> https://mail.das-netzwerkteam.de/mailxchange
>
> this delay is probably related to some horde functions trying to 
> retrieve information from the KOLAB IMAP server, but the server 
> replies with an auth failure ("badlogin: localhost [127.0.0.1] 
> plaintext  SASL(-1): generic failure: All-whitespace username.").

the delay before the login page appears is gone when i put this at the
beginning of the connect() method in lib/Horde/Kolab/IMAP/pear.php (i still
have an unpatch libc-client):

<snip>
    function connect($login, $password, $tls = false)
    {
+       if (!$login) {
+           $login = 'anonymous';
+       }

        $this->_signature = $this->_server . '|' . $this->_port .
"|$login|$password|$tls";
    [...]
</snip>

i still cannot show a shared calendar that has "anonymous read" in the
kolab-webadmin interface set... but getting rid of the delay is already
pretty nice!!!

mike



More information about the bugs mailing list