6.0.0-beta1
8/10/25

[#7835] spawn id exp15 not open
Summary spawn id exp15 not open
Queue Passwd
Queue Version 3.0.1
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 01/09/2009 (6057 days ago)
Due
Updated 01/11/2009 (6055 days ago)
Assigned
Resolved 01/11/2009 (6055 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/11/2009 02:08:21 PM Jan Schneider State ⇒ Not A Bug
 
01/11/2009 12:19:36 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #2 Reply to this comment
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'

[Show Quoted Text - 29 lines]
01/09/2009 08:03:19 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ spawn id exp15 not open
Queue ⇒ Passwd
Milestone ⇒
Patch ⇒ No
Reply to this comment
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@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@server1:/tmp#


Saved Queries