[sork] Passwd 5.0 and Expect

Kinglok, Fong busywater at gmail.com
Mon Jun 24 14:48:37 UTC 2013


Dear all,

I would like to report a problem regarding on using expect in passwd 5.0.

My settings are as follows

Horde 5.1.1
IMP 6.1.2
Passwd 5.0.0

I have disabled all other backends but still the following one enabled.

/var/www/html/webmail/passwd/config/backends.local.php
========================
$backends['expect'] = array(
    'disabled' => false,
    'name' => 'Expect Script',
    'driver' => 'expect',
    'policy' => array(
        'minLength' => 6,
        'minNumeric' => 1,
    ),
    'params' => array(
        'program' => '/usr/bin/expect',
        'script' => PASSWD_BASE . '/scripts/vpopmail_cdb_expect',
    ),
);
=======================

I have installed an expect script for vpopmail (running on cdb, not mysql) in /var/www/html/webmail/passwd/scripts/vpopmail_cdb_expect (see attachment)

After entering old and new password in passwd 5.0.0, it keeps saying "Failure in changing password for Expect script:".

I have tried setting the logging of horde (conf.php) to DEBUG, but still there is no relevant log and I've checked that all permission is right.

Can anyone help?

Kinglok, Fong

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vpopmail_expect
Type: application/octet-stream
Size: 1992 bytes
Desc: not available
URL: <http://lists.horde.org/archives/sork/attachments/20130624/dc6a64c6/attachment.obj>


More information about the sork mailing list