6.0.0-beta1
9/21/25

[#4927] error in kpasswd_expect
Summary error in kpasswd_expect
Queue Passwd
Queue Version 3.0
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester bailey (at) wickedknight (dot) net
Created 01/22/2007 (6817 days ago)
Due
Updated 01/23/2007 (6816 days ago)
Assigned
Resolved 01/23/2007 (6816 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/23/2007 04:32:39 AM Chuck Hagenbuch Assigned to Chuck Hagenbuch
 
01/23/2007 04:32:24 AM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed, thanks!
01/22/2007 05:30:04 PM bailey (at) wickedknight (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ error in kpasswd_expect
Queue ⇒ Passwd
Reply to this comment
Was looking at the kpasswd_expect script and noticed that it won't 
close out the error log correctly. Forgets to reference the err 
variable as $err the last couple of times at the end of the script.



ie.

expect {

eof {

puts $err $expect_out(buffer)

close err

exit 1

}

"Password changed."

{

close err

exit 0

}

}



close err

exit 0



Should be:

expect {

eof {

puts $err $expect_out(buffer)

close $err

exit 1

}

"Password changed."

{

close $err

exit 0

}

}



close $err

exit 0

Saved Queries