[horde] Re: [HORDE] bug , using "auto" authentication

Jan Schneider jan at horde.org
Fri Apr 15 00:12:21 PDT 2005


Please keep discussions on the list.

Zitat von José Carlos do Nascimento <josecarlos.nascimento at varig.com>:

> Jan Schneider escreveu:
>
>> Zitat von José Carlos do Nascimento <josecarlos.nascimento at varig.com>:
>>
>>> Jan Schneider escreveu:
>>>
>>>> Zitat von José Carlos do Nascimento <josecarlos.nascimento at varig.com>:
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm trying to configure Horde to autenticate with Administrator and
>>>>> password   teste.
>>>>> But I think there was a bug in horde, because this dont works :(
>>>>>
>>>>> This is Auth configuration in conf.php
>>>>>
>>>>> $conf['auth']['admins'] = array('Administrator');
>>>>> $conf['auth']['checkip'] = false;
>>>>> $conf['auth']['params']['username'] = 'Administrator';
>>>>> $conf['auth']['params']['password'] = 'teste';
>>>>> $conf['auth']['params']['requestuser'] = true;
>>>>> $conf['auth']['driver'] = 'auto';
>>>>>
>>>>> This is a bug or Driver "auto"  arent made to do this ?
>>>>>
>>>>
>>>> What makes you think that it doesn't work?
>>>>
>>>> Jan.
>>>>
>>>>
>>> Hi, Jan
>>>
>>> When I try to login, horde do not ask my password;
>>> It login, like I do not configured whitout password.
>>
>>
>> That's exactly what the auto authentication driver is for.
>>
>>> It ignore password.
>>>
>>> Im making horde package to debian.  and would like to put in 
>>> conf.php one way that person put your user and password to enter in 
>>> administration of horde first time.
>>
>>
>> Huh?
>>
>> Jan.
>>
> humm, sorry,,
>
> I dont speak english very well,  I will explain again.
>
> I installed horde-3.0.4  and change  lines of autentication to :
>
> $conf['auth']['admins'] = array('Administrator');
> $conf['auth']['checkip'] = true;
> $conf['auth']['params']['username'] = 'Administrator';
> $conf['auth']['params']['password'] = 'teste';
> $conf['auth']['params']['requestuser'] = false;
> $conf['auth']['driver'] = 'auto';
>
> I tried   , too
> $conf['auth']['params']['requestuser'] = true;
>
> But on 2 way,  I close browser and logout , and try acess horde 
> again,  but it do not ask my password.
> It login like when I installed horde first time.
>
> I was looking to Auth/auto.php  and,  it doesnt have a function 
> Autenticate(),   is this correct ?

Yes, as I already explained (see above), this is how the auto driver 
works. It logs you automatically into Horde, without any user input. It 
is only useful for demo systems, administration tasks (first time 
installation), and development.

Jan.

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


More information about the horde mailing list