Re: passwd ignores hostspec parameter in backends.php

Joris <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
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 


-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.