[sork] Fwd: problem with passwd

chan gux changux at gmail.com
Sun Nov 21 18:59:16 PST 2004


Hi people.

I have installed qmail, vpopmail, courier-imap, mysql, horde (version
2.2.6), imp (3.2.3) and passwd (version 2.2.1). I need use passwd to
change mail password stored in mysql database.

When tried change password, i see the error:

*************************begin********************
Warning: Undefined index: protocol in
/var/www/horde/passwd/lib/Driver/vpopmail.php on line 55
Error  Failure in changing password : Incorrect Password
************************close***********************

This is the backends.php vpopmail block:

************************begin***************
$backends['vpopmail'] = array (
    'name' => 'vpopmail Authentication',
    'preferred' => '',
    'password policy' => array(
        'minLength' => 4,
        'maxLength' => 10,
        'maxSpace' => 0,
        'minUpper' => 0,
        'minLower' => 0,
        'minNumeric' => 0
    ),
    'driver' => 'vpopmail',
    'params' => array(
        'phptype'    => 'mysql',
        'hostspec'   => 'localhost',
        'username'   => 'vpopmail_edit',
        'password'   => 'anypass',
        'encryption' => 'crypt',
        'database'   => 'vpopmail',
        'table'      => 'vpopmail',
        'name'    => 'pw_name',
        'domain'  => 'pw_domain',
        'passwd' =>  'pw_passwd',
        'clear_passwd' => 'pw_clear_passwd',
        'use_clear_passwd' => true
    )
);
**********************close******************

Before, i add in the same file two lines:

***********************begin*******************
$backends['vpopmail'] = array (
    'name' => 'vpopmail Authentication',
    'preferred' => '',
    'password policy' => array(
        'minLength' => 4,
        'maxLength' => 10,
        'maxSpace' => 0,
        'minUpper' => 0,
        'minLower' => 0,
        'minNumeric' => 0
    ),
    'driver' => 'vpopmail',
    'params' => array(
        'phptype'    => 'mysql',
        'hostspec'   => 'localhost',
        'socket'     => '/var/run/mysqld/mysqld.sock',   #add this line
        'protocol'   => 'unix',                                     
#add this line
        'username'   => 'vpopmail_edit',
        'password'   => 'anypassword',
        'encryption' => 'crypt',
        'database'   => 'vpopmail',
        'table'      => 'vpopmail',
        'name'    => 'pw_name',
        'domain'  => 'pw_domain',
        'passwd' =>  'pw_passwd',
        'clear_passwd' => 'pw_clear_passwd',
        'use_clear_passwd' => true
    )
);

***********************close***********************

The error change, now i see:

**************************begin******************************
Failure in changing password : Incorrect Password
****************************close***************************

Naturally, the old password is the correct but the error persist.

What i can do??


More information about the sork mailing list