[sork] passwd ignores hostspec parameter in backends.php

Rafael Varela Pet srrafa at usc.es
Mon Apr 24 05:45:47 PDT 2006


Hi,

How many backends do you have defined in backends.php. Is this the only
one?


El dom, 23-04-2006 a las 21:44 +0200, Joris Benschop escribió:

> In my backends.php (on wallach) I have hostspec set to "'hostspec'    
> => 'mysql.ideeel.net'".
> However, when I run passwd it does not query the
> remote machine but the localhost instead. This was confirmed by  
> checking mysql logs on both machines.
> Thus, the hostspec value seems to be ignored. How do I solve this?
> 
> (Running Horde 3.1.1 and Passwd h3-3.0)
> 
> ** backends.php **
> $backends['sql'] = array (
>      'name' => 'Ideeel_net',
>      'preferred' => '',
>      'password policy' => array(
>          'minLength' => 2,
>          'maxLength' => 8,
>          'maxSpace' => 0,
>          'minUpper' => 0,
>          'minLower' => 0,
>          'minNumeric' => 0,
>          'minSymbols' => 0
>      ),
>      'driver' => 'sql',
>      'params' => array(
>          'phptype'    => 'mysql',
>          'hostspec'   => 'mysql.ideeel.net',
>          'username'   => 'LALALA',
>          'password'   => 'dbpasswd',
>          'encryption' => 'plaintext',
>          'database'   => 'LOLOLO',
>          'table'      => 'users',
>          'user_col'   => 'user_uid',
>          'pass_col'   => 'user_pass',
>          'show_encryption' => false
>      )
> );

Regards,

-- 
--------------------------------------------------
Rafael Varela Pet
Area de Tecnoloxías da Información e Comunicacións

Universidade de Santiago de Compostela
15782 Santiago de Compostela
http://www.usc.es/saus
--------------------------------------------------



More information about the sork mailing list