[dev] transparent auth driver and horde-db-migrate

LALOT Dominique dom.lalot at gmail.com
Wed Sep 14 08:46:49 UTC 2011


2011/9/14 Jan Schneider <jan at horde.org>

>
> Zitat von LALOT Dominique <dom.lalot at gmail.com>:
>
>
>  Hello,
>>
>> I am surprised by the difficulties to use the auth driver I developed. In
>> some parts of horde code, there is such lines:
>>
>>
>> Horde_Registry::appInit('**horde', array(
>>    'authentication' => 'none',
>>    'cli' => true
>> ));
>>
>> It appears in fb.php or  horde-db-migrate but that codes are still calling
>> my driver. If I come back to a classic ldap driver working in authenticate
>> mode, it works.  A colleague suggest to put something in conf.php or
>> conf.local.php to check running from cli  Horde_Cli::runningFromCLI(). But
>> it appears for me that appinit should do the job, without putting:
>>
>> if (    preg_match('|/kronolith/fb.**php|',$_SERVER['REQUEST_URI'])   {
>>  $conf['auth']['driver'] = 'ldap';
>>
>> Is the working behaviour a feature or a bug about transparent auth
>> drivers?
>>
>
> This is the expected behavior, see http://janschneider.de/news/5/**343<http://janschneider.de/news/5/343>
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.**org<dev-unsubscribe at lists.horde.org>
>

Nice article, I have to spend some time to fully understand it.

Thanks

Dom

-- 
Dominique LALOT
Ingénieur Systèmes et Réseaux
http://annuaire.univmed.fr/showuser.php?uid=lalot


More information about the dev mailing list