6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9893] Lightning<->RPC; Authentication doesn't work
*
Your Email Address
*
Spam protection
Enter the letters below:
.___ .._.. ._. [__ | | | | [___\__|_|_|____|_
Comment
> I have had the same kinf of problem. > > With a Kronlith 3.0.3 installed, my Lightning sync was working with > Horde 3 and not with Horde 4. > > I get a "HORDE [horde] Horde_Imap_Client requires a username and > password. [pid 8146 on line 144 of > "/var/www/horde/pear/php/Horde/Imap/Client/Base.php"]" > > The HTTP authentication is never prompted. > Looking at the stack trace it goes to Horde_Rpc_Webdav->_check_auth() > that checks for an internal function check_auth() that is always true > (!) and then goes on Horde_Rpc_Webdav->check_auth() (without > underscore) that calls other IMAP auth classes. > > In Webdav.php (Horde_Rpc_Webdav) I have added a try / catch > (InvalidArgumentException $e) block around the return > $this->check_auth($auth_type, $auth_user, $auth_pw); > in else if (method_exists($this, "check_auth")) statement > that returns false in the catch block > > Then the Auth Basic header is sent at first request and then Basic > Auth is asked to the client and it works again. > > If you need this on a patch format feel free to ask me (since I don't > know if it breaks other things) > > What I find strange is that the _check_auth func checks for a > check_auth method in the same class, always returning true...
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers