[sork] passwd problem

Alessio alessio at chevuoi.it
Tue Mar 4 19:30:39 PST 2003



Hi, 

I'm running horde 2.3, with imp 3.2 and passwd 2.2, mysql and vpopmail.

When i try to change my password with passwd module, i got this notice 
"Notice: Undefined index: protocol in
/raid/htdocs/webmail/horde/passwd/lib/Driver/vpopmail.php on line 56"

and passwd reports an error that says "incorrect password". 

in the mysql log file i see that passwd does a query like this
---
17 Connect    DBman at localhost on
17 Init DB    vpopmail
17 Init DB    vpopmail
17 Query      SELECT pw_passwd FROM vpopmail WHERE pw_name = 'alessio' AND
pw_domain = 'chevuoi.it'
----

this query should pass to 'passwd' my vpopmail encrypted password, but it seems
to not like it. (if i manually exec the query i got back the encrypted password)

here's my backends.php

- - - - - - - - - - - - 
$backends['vpopmail'] = array (
    'name' => 'vpopmail Authentication',
    'preferred' => '',
    'password policy' => array(
        'minLength' => 3,
        'maxLength' => 8,
        'maxSpace' => 0,
        'minUpper' => 0,
        'minLower' => 0,
        'minNumeric' => 0
    ),
    'driver' => 'vpopmail',
    'params' => array(
        'phptype'    => 'mysql',
        'hostspec'   => 'localhost',
        'username'   => 'DBman',
        'password'   => 'antihackpassword',
        'encryption' => 'crypt',
        'database'   => 'vpopmail',
        'table'      => 'vpopmail',
        'name'    => 'pw_name',
        'domain'  => 'pw_domain',
	'passwd' =>  'pw_passwd',
	'clear_passwd' => 'pw_clear_passwd',
	'use_clear_passwd' => true
    )
);
- - - - - - - - - - - - 


i hope someone could help me... :) 
thanks :)

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the sork mailing list