[Tickets #7835] Re: spawn id exp15 not open

bugs at horde.org bugs at horde.org
Sun Jan 11 12:19:36 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7835
------------------------------------------------------------------------------
  Ticket             | 7835
  Updated By         | samuel.wolf at wolf-maschinenbau.de
  Summary            | spawn id exp15 not open
  Queue              | Passwd
  Version            | 3.0.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


samuel.wolf at wolf-maschinenbau.de (2009-01-11 07:19) wrote:

Found the problem, it's not a BUG!
Must change in ./passwd/config/backends.php

$backends['expect'] = array(
     'name' => 'Example Expect Script',
...
        'params' => '-ssh -host localhost -output /tmp/passwd.log'
     )
);

It was:
'params' => '-telnet -host localhost -output /tmp/passwd.log'

> Install Passwd into Horde.
>
> On the shell works fine with:
> expect passwd_expect
> username
> old_pw
> new_pw
>
> But dont work over Horde/Browser!
>
> I get following error in passwd.log
>
> root at server1:/tmp# cat passwd.log
> expect: spawn id exp15 not open
>     while executing
> "expect -nobrace -re {The authenticity of host.* can't be established.*
> RSA key fingerprint is.*
> Are you sure you want to continue connecting.*} {sleep..."
>     invoked from within
> "expect {
>   -re $fingerprint_string {sleep .5
>                            send yes\r
>                            exp_continue}
>   -re $password_string    ..."
>     (file
> "/var/www/https/horde/passwd/config/../scripts/passwd_expect" line
> 175)
> root at server1:/tmp#
>







More information about the bugs mailing list