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

Suhag Desai spdesai at gnvfc.net
Mon May 7 16:59:58 UTC 2007


Dear Andrea Durante
Pl. send me the same vpopmail.php to work with vpopmail/mysql + 
passwdregards,suhagHi to all,
After the problem with my vpopmail server that I can't change the
password,
I've taked my time and started to modify the driver.
Now I have the modified driver vpopmail.php ready to be used with
crypy_md5 (the vpopmail compiled with MD5).

So, I don't like to take the modified version only for me, and I want to
know how to place that file ready for all...

For now, everyone need it, pls send a request on the list.

Best Regards
Andrea Durante
----- 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