[sork] passwd ignores hostspec parameter in backends.php

Joris joris at ideeel.nl
Mon Apr 24 05:53:38 PDT 2006


At 14:45 24/04/2006, Rafael Varela Pet wrote:
>Hi,
>
>How many backends do you have defined in backends.php. Is this the only
>one?

Yes it is the only one.
Here is my entire backends.php file (minus the doc section)

<?php
$backends['sql'] = array (
     'name' => 'Ideeel.net POP3',
     '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'   => 'PASSWDONLY',
         'password'   => 'SOMEPASS',
         'encryption' => 'plaintext',
         'database'   => 'NONETEST',
         'table'      => 'users',
         'user_col'   => 'user_uid',
         'pass_col'   => 'user_pass',
         'show_encryption' => false
         // The following two settings allow you to specify custom queries for
         // lookup and modify functions if special functions need to be
         // performed.  In places where a username or a password needs to be
         // used, refer to this placeholder reference:
         //    %u -> gets substituted with the user
         //    %p -> gets substituted with the plaintext password
         //    %e -> gets substituted with the encrypted password
         //
         // 'query_lookup' => 'SELECT user_pass FROM horde_users 
WHERE user_uid = %u',
         // 'query_modify' => 'UPDATE horde_users SET user_pass = %e 
WHERE user_uid = %u',
     )
);


joris 




More information about the sork mailing list