[dev] Re: composite driver Problem

markus freaked at gmx.at
Wed Mar 31 01:26:29 PST 2004


Hi Jan,

that's a missunderstanding. Of course I use more then one backend.
I just thought I don't post it all, because it isn't really helpfull to
solve the problem. Actually I use 4 backends; but all of it just SQL.
So they all look the same.

the point is, that this configuration worked fine before. Just after the
new update of passwd and the framework it didn't work anymore.

I think you can easily try it with just one backend, but with the
composite driver. Then it shouldn't work for you too.

markus



Jan Schneider wrote:

> Just a dumb question: Why do you use the composite driver if you have only
> one backend?
> 
> Zitat von markus <freaked at gmx.at>:
> 
>> Jan Schneider wrote:
>>
>>> Zitat von markus <freaked at gmx.at>:
>>>
>>>> Hi,
>>>>
>>>> I'm using the latest CVS checkout of Horde and all modules;
>>>>
>>>> In the latest password Module the composite driver doesn't work 
>>>> anymore.
>>>>
>>>>
>>>> Notice: Undefined index: driver in
>>>> /var/www/horde/raum1/passwd/lib/Driver/composite.php on line 54
>>>>
>>>> Notice: Undefined index: params in
>>>> /var/www/horde/raum1/passwd/lib/Driver/composite.php on line 55
>>>
>>>
>>>
>>> How did you setup the composite driver?
>>>
>>> Jan.
>>>
>>> -- http://www.horde.org - The Horde Project
>>> http://www.ammma.de - Neue Wege des Lernens
>>> http://www.tip4all.de - Deine private Tippgemeinschaft
>>
>>
>> Hi Jan,
>>
>> hmm, I'm not aware of a setup that has to be done.
>> What I did, I configured the backend.php and this worked with
>> my 2 Month old horde dev cvs. Last week I did update to the recent one,
>> and since that the composite driver didn't work anymore.
>>
>> I just compared the recent dist backup file and my one, and they are the
>> same version and same struckture.
>>
>> So is the backend.php what you ment in your question, or did you mean a
>> other configuration.
>>
>> here a part of my backend.php
>> $backends['composite'] = array(
>>          'name' => 'projektraum[x]',
>>          'preferred' => '',
>>          'password policy' => array(
>>                                     'minLength' => 1,
>>                                     'maxLength' => 12,
>>                                     'maxSpace' => 0,
>>                                     'minUpper' => 0,
>>                                     'minLower' => 0,
>>                                     'minNumeric' => 0
>>                                     ),
>>          'driver' => 'composite',
>>          'params' => array('drivers' => array(
>>                  'sql' => array (
>>                  'name' => 'Horde Authentication',
>>                  'driver' => 'sql',
>>                  'params' => array(
>>                  'phptype'    => 'mysql',
>>                  'hostspec'   => 'localhost',
>>                  'username'   => 'horde',
>>                  'password'   => 'secret',
>>                  'encryption' => 'md5-hex',
>>                  'database'   => 'horde',
>>                  'table'      => 'horde_users',
>>                  'user_col'   => 'user_uid',
>>                  'pass_col'   => 'user_pass',
>>                  'show_encryption' => false
>>            ),
>>        ),
>> *** snip ****
>>
>> thanks
>> Markus
>>
>>
>> -- 
>> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
> 
> 
> 
> 
> Jan.
> 
> -- 
> http://www.horde.org - The Horde Project
> http://www.ammma.de - Neue Wege des Lernens
> http://www.tip4all.de - Deine private Tippgemeinschaft




More information about the dev mailing list