[horde] qmailtoaster-plus + vpopmail + passwd not working
Suhag P Desai
spdesai at gnvfc.net
Wed Jul 21 09:48:55 UTC 2010
Dear All,
Qmailtoaster plus running ok with horde groupware webmail. But when I tried
to integrate passwd module to change the password from horde web interface.
I get the error like
Failure in changing password for Example Vpopmail Server: User not found
Below is my /passwd/lib/Driver/vpopmail.php
/* Use defaults from Horde. */
$defaults = Horde::getDriverConfig('', 'sql');
$this->_params['hostspec'] = isset($params['hostspec']) ?
$params['hostspec'] : '192.168.30.195';
$this->_params['protocol'] = isset($params['protocol']) ?
$params['protocol'] : 'tcp';
$this->_params['username'] = isset($params['username']) ?
$params['username'] : 'root'
$this->_params['password'] = isset($params['password']) ?
$params['password'] : 'password'
$this->_params['database'] = isset($params['database']) ?
$params['database'] : 'vpopmail';
/* Defaults to match Auth::sql default. */
$this->_params['table'] = isset($params['table']) ?
$params['table'] : 'vpopmail';
$this->_params['encryption'] = isset($params['encryption']) ?
$params['encryption'] : 'crypt-md5';
$this->_params['name'] = isset($params['name']) ?
$params['name'] : 'pw_name';
$this->_params['domain'] = isset($params['domain']) ?
$params['domain'] : 'pw_domain';
$this->_params['passwd'] = isset($params['passwd']) ?
$params['passwd'] : 'pw_passwd';
$this->_params['clear_passwd'] = isset($params['clear_passwd'])
? $params['clear_passwd'] : 'pw_clear_passwd';
$this->_params['use_clear_passwd'] =
isset($params['use_clear_passwd']) ? $params['use_clear_passwd'] :
false;
$this->_params['show_encryption'] =
isset($params['show_encryption']) ? $params['show_encryption'] : false;
Below is my /passwd/config/backend.php file
$backends['vpopmail'] = array (
'name' => 'Example Vpopmail Server',
'preferred' => '',
'password policy' => array(
'minLength' => 3,
'maxLength' => 8,
'maxSpace' => 0,
'minUpper' => 0,
'minLower' => 0,
'minNumeric' => 0
),
'driver' => 'vpopmail',
'params' => array(
'phptype' => 'mysql',
'hostspec' => '192.168.30.195',
'username' => 'root',
'password' => 'password',
'encryption' => 'crypt-md5',
'database' => 'vpopmail',
'table' => 'vpopmail',
// 'port' => '3306',
'name' => 'pw_name',
'domain' => 'pw_domain',
'passwd' => 'pw_passwd',
'clear_passwd' => 'pw_clear_passwd',
'use_clear_passwd' => true,
'show_encryption' => true
)
);
Please help
Regards,
Suhag Desai.
More information about the horde
mailing list