6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6043] Kolab does not support anonymous (guest) users
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.___.. .. .. . >< | | || |\ / / \ | |__||/\| \/
Comment
> hi, > > > >>> hi gunnar, > >>> > >>>> Hm, I'm not certain about this one. > >>>> > >>>> _shareMap is initialized as empty array in the class. So if you call > >>>> getShares with a set of ids, they should end up in $missing_ids. > >>>> > >>>> Now getShares() will try to fetch these missing shares. If it fails > >>>> there, since the share does not exist, it will return a PEAR error. > >>>> > >>>> So I don't think checking for an empty shareMap is really necessary. > >>>> > >>>> From what you post I get the impression that the _listShare() > >>>> function within Share/kolab.php is the culprit in this case. Can you > >>>> check what this function is returning when the sequence > >>>> listTaskLists() -> listShares() -> _listShares() (nag/lib/Nag.php -> > >>>> Share.php -> Share/kolab.php) gets executed? Thanks! > >>> > >>> note: i am talking about pre-login stage. at this point IMAP auth > >>> fails in __wakeup in class Horde_share_kolab. > >>> > >>> _listShares() / Share/kolab.php is not reached without authentication. > >>> > >>> mike > >> > >> I'm probably being dumb on this one but I still fail to see the connection. > >> > >> In your original message you propose to fix the getShares() function > >> within Share.php. You associated that with a few lines of log > >> messages that all point to locations where the listShares() function > >> gets called. This seems to make sense to me because listShares() > >> actually calls getShares() with the result from _listShares(). > > > > i am actually not sure any more if the logfile entries i posted > really relate to the php-error on the login page. i will explain the > whole issue i observe during the login process further below. > > > >> Now you say the wakeup() call is causing the problem but I fail to > >> see the connection to getShares(). Can you provide the complete > >> sequence of function calls? Does the error occur when the login page > >> is shown and you did not enter any values yet? Or does it occur when > >> you entered user and pass and the system tries to auth against imap? > > > > 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."). > > > > however, i do not really have a clue what horde is looking for on the > imap server. is it possible to view IMAP data (e.g. a totally public > calendar) prior to user login??? > > > > ISSUE 2: > > ---------- > > after a little while the login page appears. without the change > described in this bug ticket i get the reported php-error. i > currently wonder if this bug is actually related to my personal fix > of ticket 6048... ($this->_shareMap[$cid] does not get set by > getShareById()). > > > > i will check with CVS version... > > > > best, > > mike > > > > > >
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