[sork] [SOLVED] Re: Passwd 5.0 and Expect
Kinglok, Fong
busywater at gmail.com
Thu Jul 4 16:46:42 UTC 2013
Hi all,
It turns out even when I have enabled a function authusername in a hook
/var/www/html/webmail/config/hook.php
There is no need to parse domain name in vpopmail expect script and I have to uncomment the two 'query_lookup' and 'query_modify' to look for %U.
Now, the passwd is working.
Thanks.
Kinglok, Fong
On 24 Jun, 2013, at 10:48 PM, "Kinglok, Fong" <busywater at gmail.com> wrote:
> 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
>
> <vpopmail_expect>
More information about the sork
mailing list