<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>spawn id exp15 not open</title> 
  <pubDate>Fri, 10 Apr 2026 14:49:35 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7835</link> 
  <atom:link rel="self" type="application/rss+xml" title="spawn id exp15 not open" href="https://bugs.horde.org/ticket/7835/rss" /> 
  <description>spawn id exp15 not open</description> 
 
   
   
  <item> 
   <title>Install Passwd into Horde.



On the shell works fine with:
</title> 
   <description>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

&quot;expect -nobrace -re {The authenticity of host.* can&#039;t be established.*

RSA key fingerprint is.*

Are you sure you want to continue connecting.*} {sleep...&quot;

    invoked from within

&quot;expect {

  -re $fingerprint_string {sleep .5

                           send yes\r

                           exp_continue}

  -re $password_string    ...&quot;

    (file &quot;/var/www/https/horde/passwd/config/../scripts/passwd_expect&quot; line 175)

root@server1:/tmp#

</description> 
   <pubDate>Fri, 09 Jan 2009 20:03:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7835#t51641</link> 
  </item> 
   
  <item> 
   <title>Found the problem, it&#039;s not a BUG!

Must change in ./passwd/</title> 
   <description>Found the problem, it&#039;s not a BUG!

Must change in ./passwd/config/backends.php



$backends[&#039;expect&#039;] = array(

    &#039;name&#039; =&gt; &#039;Example Expect Script&#039;,

...

       &#039;params&#039; =&gt; &#039;-ssh -host localhost -output /tmp/passwd.log&#039;

    )

);



It was:

&#039;params&#039; =&gt; &#039;-telnet -host localhost -output /tmp/passwd.log&#039;



&gt; Install Passwd into Horde.

&gt;

&gt; On the shell works fine with:

&gt; expect passwd_expect

&gt; username

&gt; old_pw

&gt; new_pw

&gt;

&gt; But dont work over Horde/Browser!

&gt;

&gt; I get following error in passwd.log

&gt;

&gt; root@server1:/tmp# cat passwd.log

&gt; expect: spawn id exp15 not open

&gt;     while executing

&gt; &quot;expect -nobrace -re {The authenticity of host.* can&#039;t be established.*

&gt; RSA key fingerprint is.*

&gt; Are you sure you want to continue connecting.*} {sleep...&quot;

&gt;     invoked from within

&gt; &quot;expect {

&gt;   -re $fingerprint_string {sleep .5

&gt;                            send yes\r

&gt;                            exp_continue}

&gt;   -re $password_string    ...&quot;

&gt;     (file 

&gt; &quot;/var/www/https/horde/passwd/config/../scripts/passwd_expect&quot; line 

&gt; 175)

&gt; root@server1:/tmp#

&gt;

</description> 
   <pubDate>Sun, 11 Jan 2009 12:19:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7835#t51650</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
