[horde] Re: ticket #367 - auth-admins doesn't work when authenticating via application>imp

Thomas M. O'Brien thomas at creativebusinessystems.com
Thu Sep 9 11:54:18 PDT 2004


Quoting Horde User <horde at aethra.com.br>:

> Citando Jan Schneider <jan at horde.org>:
>
>> Zitat von Horde User <horde at aethra.com.br>:
>>
>> > Em Qua 08 Set 2004 12:45, Jan Schneider escreveu:
>> >> Zitat von Horde User <horde at aethra.com.br>:
>> >> > I try to find a message that response the question "auth-admins doesn't
>> >> > work when authenticating via application>imp ", but I couldn't.
>> >> >
>> >> > How I do this?
>> >>
>> >> Huh?
>> >>
>> >> Jan.
>> >>
>> > Excuse-me Jan. I will keep on the list.
>> >> --
>> >> Do you need professional PHP or Horde consulting?
>> >> http://horde.org/consulting/
>> >
>> > On horde framework has administrator users - $conf['auth']['admins'] =
>> > array('admin1', 'admin2') to access "administration" menu.
>> >
>> > When the authentication method is by application (like IMP) how I set it
>> to
>> > show "Administration" menu?
>>
>> The same way.
>
> ???
>
>>
>> Jan.
>
>
> Excuse-me, guys!
>
> On my horde/config/conf.php I has:
>  $conf['auth']['admins'] = array('admin1');
>
>  $conf['auth']['driver'] = 'application';
>  $conf['auth']['params']['app'] = 'imp';
>
> In this case I don't see the "administration" menu after login. Why?
>
>
> I only see it if the horde/config/conf.php was keept as follow:
>  $conf['auth']['admins'] = array('admin1');
>
>   // this following lines as comments.
>   //$conf['auth']['driver'] = 'application';
>   //$conf['auth']['params']['app'] = 'imp';
>
>
> Excuse-me again.
>
Since your authenticated against IMP (AKA your IMAP server) the admin 
list needs
to be your IMAP username. In my case /horde/config/conf.pph lools simillar to:

$conf['auth']['admins'] = array('user1 at domain1.dom');
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application';

I have to use my full email address to log into my IMAP server because I host
multiple domains. If I had only one domain it would look like:

$conf['auth']['admins'] = array('user');
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application'

Does that make sense?

Thomas






More information about the horde mailing list