[kronolith] User is not authorized
Jan Schneider
jan at horde.org
Wed Jan 15 13:47:16 UTC 2014
Zitat von Gerard Breiner <gerard.breiner at ias.u-psud.fr>:
> Hello,
>
> I've recently updated horde. So actually we use horde 5.1.5 and
> kronolith 4.1.4. All works very fine except that horde.log is
> polluted with messages :
> EMERG: HORDE [horde] User is not authorized [pid 7706 on line 1547
> of « /www/horde5/pear/php/Horde/Registry.php « ]
> It appears that this issue are linked with subscriptions at
> kronolith agendas from thunderbird.
>
> In order to trace this issue, I added two lines in Registry.php
> ($file and $tt) as below.
>
>
> if ($checkPerms) {
> if ($this->getAuth() && !$this->checkExistingAuth()) {
> $file = '/www/horde5/pear/php/Horde/debug-backtrace.txt';
> $tt = Horde::debug($GLOBALS['registry']->getAuth(), $file);
> throw new Horde_Exception_PushApp('User is not
> authorized'.$tt, self::AUTH_FAILURE, $app);
> }
>
> "tail -300 debug-backtrace.txt" give the output below.
>
> 2014-01-14T14:37:40+01:00 DEBUG: Variable information:
> string(8) "scaminad"
>
> Backtrace:
> 1. Horde_Rpc_Webdav->getResponse() /www/horde5/rpc.php:156
> 2. Sabre\DAV\Server->exec() /www/horde5/pear/php/Horde/Rpc/Webdav.php:67
> 3. Sabre\DAV\Server->invokeMethod()
> /www/horde5/pear/php/Sabre/DAV/Server.php:214
> 4. Sabre\DAV\Server->broadcastEvent()
> /www/horde5/pear/php/Sabre/DAV/Server.php:455
> 5. call_user_func_array() /www/horde5/pear/php/Sabre/DAV/Server.php:433
> 6. Sabre\DAVACL\Plugin->beforeMethod()
> 7. Sabre\DAV\ObjectTree->nodeExists()
> /www/horde5/pear/php/Sabre/DAVACL/Plugin.php:701
> 8. Sabre\DAV\ObjectTree->getNodeForPath()
> /www/horde5/pear/php/Sabre/DAV/ObjectTree.php:96
> 9. Sabre\DAV\Collection->getChild()
> /www/horde5/pear/php/Sabre/DAV/ObjectTree.php:64
> 10. Horde_Dav_RootCollection->getChildren()
> /www/horde5/pear/php/Sabre/DAV/Collection.php:33
> 11. Horde_Registry->hasMethod()
> /www/horde5/pear/php/Horde/Dav/RootCollection.php:85
> 12. Horde_Registry_Api->methods()
> /www/horde5/pear/php/Horde/Registry.php:1077
> 13. Ingo_Api->disabled() /www/horde5/pear/php/Horde/Registry/Api.php:86
> 14. Horde_Registry->pushApp() /www/horde5/ingo/lib/Api.php:37
> 15. Horde::debug() /www/horde5/pear/php/Horde/Registry.php:1548
>
>
>
>
> Do you have an idea of what could cause this issue ? Any hints
> would be great help.
>
> Many thanks in advance.
>
> Gérard Breiner
Obviously checkExistingAuth() fails.
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
More information about the kronolith
mailing list