[horde] Fw: Horde + vpopmail/MySQL + Passwd Not working

Suhag Desai spdesai at gnvfc.net
Tue May 8 01:56:47 UTC 2007


I HAVE DONE IT

THANKS
SUHAG


----- Original Message ----- 
From: "Suhag Desai" <spdesai at gnvfc.net>
To: <horde at lists.horde.org>
Sent: Monday, May 07, 2007 3:11 PM
Subject: Fw: [horde] Horde + vpopmail/MySQL + Passwd Not working


>I am eagerly waiting for someones reply..that can help me to resolve my 
>problem
>
>
> ----- Original Message ----- 
> From: "Suhag Desai" <spdesai at gnvfc.net>
> To: <horde at lists.horde.org>
> Sent: Saturday, May 05, 2007 9:59 AM
> Subject: [horde] Horde + vpopmail/MySQL + Passwd Not working
>
>
>> Dear All,
>>
>> My HORDE/IMP Working fine except passwd.
>>
>> Wheneve user try to change password the below error generated
>>
>> "Failure in changing password on Example Vpopmail Server: Incorrect 
>> Password"
>>
>> I have searched lots of in archive and feel that as per general opinion 
>> its due to encrption method mismatch between mysql and php. I have used 
>> all the encryption method in backend.php and lib/Driver/vpopmail.php but 
>> not solved.
>>
>> vpopmail.php
>>
>> $defaults = Horde::getDriverConfig('', 'sql');
>> $this->_params['hostspec']   = isset($params['hostspec'])   ? 
>> $params['hostspec'] : '192.168.10.71';
>> $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'] : 'suhag1';
>> $this->_params['database']   = isset($params['database'])   ? 
>> $params['database'] : 'vpopmail';
>> $this->_params['port']       = isset($params['port'])       ? 
>> $params['port']     : '3306';
>>
>> /* Defaults to match Auth::sql default. */
>> $this->_params['table']      = isset($params['table'])      ? 
>> $params['table'] : 'vpopmail';
>> $this->_params['encryption'] = isset($params['encryption']) ? 
>> $params['encryption'] : 'crypt';
>> $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'] : true;
>> $this->_params['show_encryption'] = isset($params['show_encryption']) ? 
>> $params['show_encryption'] : true;
>>
>> BACKEND.PHP
>>
>> $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.10.71',
>>        'username'   => 'root',
>>        'password'   => 'suhag1',
>>        'encryption' => 'crypt',
>>        '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,
>>        'protocol' => 'tcp'
>>    )
>> );
>>
>> Thanks
>>
>> suhag
>>
>> -- 
>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
> 



More information about the horde mailing list