[sork] Passwd

Pedro Maia dtread at ptweb.org
Sat Mar 13 07:03:48 PST 2004


I'm using passwd-2.2 and horde 2.2.5 i've now configured both thinks an i still get an error.
When i try to change the password it says to me "Failure in changing password : Incorect Password" i've made some tests and i saw that the problem is when passwd encrypts the password, it gets difrent from the one encrypted by vpopmail.

I've run the following configure for vpopmail-5.4.0 ./configure \
  --enable-roaming-users \
  --enable-tcprules-prog=/usr/local/bin/tcprules \
  --enable-tcpserver-file=/etc/tcp.smtp \
  --enable-relay-clear-minutes=30 \
  --enable-logging=v \
  --disable-passwd \
  --enable-clear-passwd \
  --disable-domain-quotas \
  --enable-auth-module=mysql \
  --enable-many-domains \
  --enable-auth-logging \
  --enable-mysql-logging \
  --enable-valias \
  --disable-mysql-limits \
  --disable-md5-passwords \
  --enable-learn-passwords

and the backend.php of passwd is like this

$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'   => 'user',
        'password'   => '*****',
        'encryption' => 'crypt',
        'database'   => 'vpopmail',
        'table'      => 'vpopmail',
        'name'    => 'pw_name',
        'domain'  => 'pw_domain',
        'passwd' =>  'pw_passwd',
        'clear_passwd' => 'pw_clear_passwd',
        'use_clear_passwd' => true
    )
);


Pedro Maia


More information about the sork mailing list