Passwd didn't working

"Andrea Durante" <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Hi,
I've configured an Horde+IMP+Sork but the passwd didn't working. The
error that I receive when click on Change Password was
"Failure in changing password on Vpopmail Server: Wrong Password"
No php error there. 
The log of mysql server:

36 Connect     vpopmail@localhost on vpopmail
36 Query       select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos,
pw_dir, pw_shell from vpopmail where pw_name = "andur" and pw_domain =
"fpsroma.cisl.it"

My backend.php:

$backends['vpopmail'] = array (
    'name' => 'Vpopmail Server',
    'preferred' => '',
    'password policy' => array(
        'minLength' => 3,
        'maxLength' => 10,
        'maxSpace' => 0,
        'minUpper' => 1,
        'minLower' => 0,
        'minNumeric' => 1
    ),
    'driver' => 'vpopmail',
    'params' => array(
        'phptype'    => 'mysql',
        'hostspec'   => 'localhost',
        'username'   => 'vpopmail',
        'password'   => '[__NOTSHOW__]',
        'encryption' => 'crypt',
        'database'   => 'vpopmail',
        'table'      => 'vpopmail',
        'name'    => 'pw_name',
        'domain'  => 'pw_domain',
        'passwd' =>  'pw_passwd',
        //'clear_passwd' => 'pw_clear_passwd',
        'use_clear_passwd' => false,
        'show_encryption' => true
    )
);



And my vpopmail was 5.4.16 compiled with:
./configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --enable-ip-alias-domains=y
--enable-auth-module=mysql --enable-libs=/usr/include/mysql
--enable-libdir=/usr/lib/mysql --enable-sql-logging=y
--enable-auth-logging=y --enable-valias=y --enable-mysql-replication=n
--enable-mysql-limits --enable-clear-passwd=n --sbindir=/usr/sbin
--bindir=/usr/bin --sysconfdir=/var/vpopmail/etc
--enable-qmaildir=/var/qmail
--enable-qmail-newu=/var/qmail/bin/qmail-newu
--enable-qmail-inject=/var/qmail/bin/qmail-inject
--enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
--enable-vpopuser=vpopmail --enable-many-domains=y
--enable-vpopgroup=vpopmail --enable-file-locking=y --enable-file-sync=y
--enable-md5-passwords=y --enable-logging=y --enable-log-name=vpopmail
--enable-qmail-ext --disable-tcp-rules-prog --disable-tcpserver-file
--disable-roaming-users --build=i686-pc-linux-gnu

I've tryed to check the php function to use crypt("actual pass"); but
everytime that i do that the result was different!!! o_O
How passwd will check the password if ther hash was different as the
original but the password was the same??

Pls help me.
Andrea Durante
-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.