[horde] Composite driver and listing user

Jan Schneider jan at horde.org
Mon May 8 07:51:26 PDT 2006


Zitat von Marco Pirovano <marco.pirovano at unibocconi.it>:

> Hello Vilius,
>
> Quoting Vilius ?umskas <vilius at lnk.lt>:
>
>> Hello Marco,
>>
>> Monday, May 8, 2006, 4:09:19 PM, you wrote:
>>
>>> Hello,
>>
>>> I've setup the composite driver to use MIMP in parallel with IMP   
>>> as   explained
>>> in the WiKi HowTo and it works fine.
>>
>>> The problem I have is that I'm not able to list user if I log in as
>>> administrator or if I want to share a calendar or an address book;
>>> I have to specify the username and I can share calendars or addres books.
>>
>>> If I go back to use only IMP as application that handle the authentication
>>> I can list users without problem.
>>
>>> We use Cyrus IMAP server.
>>
>> So what auth driver you are using?
>>
>> --
>> Best regards,
>> Vilius
>
> this is a part of my horde conf.php:
>
> $conf['auth']['admins'] = array('admin');
> $conf['auth']['checkip'] = true;
> $conf['auth']['checkbrowser'] = true;
> $conf['auth']['alternate_login'] = false;
> $conf['auth']['redirect_on_logout'] = false;
>
> $conf['auth']['driver'] = 'composite';
> $conf['auth']['params']['drivers'] = array(
>     'imp' => array('driver' => 'application',
>                    'params' => array('app' => 'imp')),
>     'mimp' => array('driver' => 'application',
>                     'params' => array('app' => 'mimp')));
>
> $conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
> if (!function_exists('_horde_select_loginscreen')) {
>     function _horde_select_loginscreen()
>     {
>         require_once 'Horde/Browser.php';
>         $browser = new Browser();
>         if ($browser->isMobile()) {
>             return 'mimp';
>         }
>         return 'imp';
>     }
> }

Add this line:

$conf['auth']['params']['admin_driver'] = 'imp';

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list