[horde] Horde4: CompositeAuthentication
Michael M Slusarz
slusarz at horde.org
Thu Mar 24 18:52:27 UTC 2011
Quoting Michael Gröne <michael.groene at zel.uni-hannover.de>:
> Am 24.03.2011 18:10, schrieb Michael M Slusarz:
>> Quoting Michael Gröne <michael.groene at zel.uni-hannover.de>:
>>
>>> Am Mi 23 Mär 2011 06:07:47 CET schrieb Michael M Slusarz
>>> <slusarz at horde.org>:
>>>
>>>> Quoting Michael Gröne <michael.groene at zew.uni-hannover.de>:
>>>>
>>>>> Am Fr 18 Mär 2011 10:57:20 CET schrieb Michael Gröne
>>>>> <michael.groene at zew.uni-hannover.de>:
>>>>>
>>>>>> Missing admin_driver parameter.
>>>>>> 5. Horde_Auth::factory()
>>>>>> /usr/share/php/Horde/Core/Factory/Auth.php:150
>>>>>
>>>>> Ah, I see: Auth.php, line 83ff
>>>>> case 'composite':
>>>>> // TODO
>>>>> $params['admin_driver'] = null;
>>>>> $params['auth_driver'] = null;
>>>>> break;
>>>>>
>>>>> Can you estimate, whether this will be working in any of the
>>>>> upcoming releases, though it is not listed as showstopper?
>>>>
>>>> This has been fixed. Note that the format of the configuration entry
>>>> has changed.
>>>
>>> Thank you so far.
>>>
>>> But now I got another error:
>>> Ein schwerer Fehler ist aufgetreten:
>>> Horde_Auth: Class definition of H not found.
>>> 1. Horde_Registry::appInit()
>>> /var/www/horde4_test/services/portal/index.php:12
>>> 2. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:238
>>> 3. Horde_Registry->checkExistingAuth()
>>> /usr/share/php/Horde/Registry.php:1259
>>> 4. Horde_Core_Factory_Auth->create()
>>> /usr/share/php/Horde/Registry.php:2169
>>> 5. Horde_Core_Factory_Auth->_create()
>>> /usr/share/php/Horde/Core/Factory/Auth.php:61
>>> 6. Horde_Core_Factory_Auth->_create()
>>> /usr/share/php/Horde/Core/Factory/Auth.php:108
>>> 7. Horde_Auth::factory() /usr/share/php/Horde/Core/Factory/Auth.php:178
>>
>> Did you update your configuration?
>
> Yes, I had changed it, according the howto in the Wiki.
> $conf['auth']['params']['admin_driver']['driver'] = 'ldap';
> $conf['auth']['params']['admin_driver']['params']=array(
> ...specific params...
> );
> and
> $conf['auth']['params']['auth_driver']['driver'] = 'application';
> $conf['auth']['params']['auth_driver']['params'] =array(
> "app"=>"imp"
> );
I can't reproduce using this configuration:
$conf['auth']['driver'] = 'composite';
$conf['auth']['params']['admin_driver']['driver'] = 'application';
$conf['auth']['params']['admin_driver']['params'] = array('app' => 'imp');
$conf['auth']['params']['auth_driver']['driver'] = 'application';
$conf['auth']['params']['auth_driver']['params'] = array('app' => 'imp');
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list