[horde] Composite driver and listing user

Marco Pirovano marco.pirovano at unibocconi.it
Mon May 8 07:28:23 PDT 2006


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';
     }
}

Thanks.
Ciao,
Marco

* Marco Pirovano
* Universita' Bocconi, Area Sistemi Informatici e Telematici
* Piazza Sraffa 11 - 20136 Milano
* Tel. +39 02 5836.3173  Fax. +39 02 5836.3160  VoIP. 02 5828.3173



More information about the horde mailing list