[horde] imap folder acl admin / workaround

Robert Schetterer rs at sys4.de
Wed Nov 6 13:09:11 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Am 06.11.2013 13:49, schrieb Robert Schetterer:
> 
> 
> Am 06.11.2013 13:43, schrieb Jan Schneider:
> 
>> Zitat von Robert Schetterer <rs at sys4.de>:
> 
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>> 
>>> Hi , when i want to edit some acl of an imap folder , i get 
>>> "couldnt not auth as admin etc", however i have no admin
>>> section defined in backends.local.php , cause its not needed
>>> with dovecot for granting rights on own imap folders to other
>>> users, config a dovecot master user as "admin" only let grant
>>> rights to anyone Any Idea ?, this whole Admin Stuff with acl
>>> seems to me very cyrus related
> 
>> Correct, because this was the only IMAP server that supported 
>> setting ACLs via IMAP commands at that time.
> 
> Hi Jan ,just wonder why my horde3 install runs fine since years
> with dovecot acl...
> 
> old settings
> 
> $servers['imap'] = array( 'name' => 'IMAP Server', 'server' =>
> 'localhost', 'hordeauth' => false, 'protocol' => 'imap/notls', 
> 'port' => 143, 'quota' => array( 'driver' => 'imap', 'params' =>
> array('hide_quota_when_unlimited' => true), ), 'acl' => array( 
> 'driver' => 'rfc4314', ), 'search_charset' => array( 'UTF-8' =>
> true ) );
> 
> 
> Best Regards MfG Robert Schetterer
> 
> 

As workaround i disabled the warning in

imp/lib/Prefs/Special/Acl.php

         $view->new_user = $new_user;
        } catch (Horde_Auth_Exception $e) {
    //        $notification->push('Could not authenticate as admin
user to obtain ACLs. Perhaps your admin configuration is incorrect in
config/backends.local.php?', 'horde.warning');
        } catch (Horde_Exception $e) {
            if (!($e->getPrevious() instanceof IMP_Exception)) {
                $notification->push($e);
            }
        }

makes no real sense with dovecot

Best Regards
MfG Robert Schetterer

- -- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSej9yAAoJEP8jBObu0LlE2PwH/RZM8/qLX69SB8RD17eCnVUR
FjdnTA6pT80Yp2KgGb+SSQAoM6jgleeCmeynPq0xbfuaQscVvPA6X3b/MeOVPH6b
+SFMuVPmMLoxDeVfHvaHk68Pmtq/9KgNknSK1mdlQAnqd9UzIZMZsgBwaG1UH/L0
IAme8TUm8lKRVOv77k/Xujzs8KF0rCWHrW5zqPTRerglANbLYIl3w+DJOJw0/oA/
WW5rBfJJt41IPuBjkro/vi9KRx2ndv0xJRcrqIXmNptlJ5XetVlRzdxAQY1hhLfY
mXIlUtdngcaFTZGT6fCq7Q8gqQ5Nu/sgcVsexPmQgHDwLnRmDzrMd2a1z4BjdXY=
=Sjun
-----END PGP SIGNATURE-----


More information about the horde mailing list