6.0.0-beta1
7/19/25

[#9166] passwd_expect dont work on ubuntu 10.04
Summary passwd_expect dont work on ubuntu 10.04
Queue Passwd
Queue Version 3.1.3
Type Bug
State Resolved
Priority 1. Low
Owners
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 08/07/2010 (5460 days ago)
Due
Updated 02/01/2012 (4917 days ago)
Assigned
Resolved 01/30/2012 (4919 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/01/2012 08:27:04 PM Git Commit Comment #10 Reply to this comment
Changes have been made in Git (refs/heads/ajax_to_core):

commit 2244537968c9815f917473eae09791568955fd8a
Author: Jan Schneider <jan@horde.org>
Date:   Mon Jan 30 16:09:01 2012 +0100

     [jan] Make expect driver locale independent (Bug #9166).

  passwd/docs/CHANGES |    1 +
  passwd/package.xml  |    2 ++
  2 files changed, 3 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/2244537968c9815f917473eae09791568955fd8a
02/01/2012 08:26:50 PM Git Commit Comment #9 Reply to this comment
Changes have been made in Git (refs/heads/ajax_to_core):

commit e6880107c1605739822f7f5144b7a2df31c2d0fd
Author: Jan Schneider <jan@horde.org>
Date:   Mon Jan 30 16:07:59 2012 +0100

     Enforce C locale (Bug #9166).

  passwd/lib/Driver/Expect.php |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/e6880107c1605739822f7f5144b7a2df31c2d0fd
01/30/2012 06:12:06 PM Git Commit Comment #8 Reply to this comment
Changes have been made in Git (refs/heads/develop):

commit 2244537968c9815f917473eae09791568955fd8a
Author: Jan Schneider <jan@horde.org>
Date:   Mon Jan 30 16:09:01 2012 +0100

     [jan] Make expect driver locale independent (Bug #9166).

  passwd/docs/CHANGES |    1 +
  passwd/package.xml  |    2 ++
  2 files changed, 3 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/2244537968c9815f917473eae09791568955fd8a
01/30/2012 06:11:52 PM Git Commit Comment #7 Reply to this comment
Changes have been made in Git (refs/heads/develop):

commit e6880107c1605739822f7f5144b7a2df31c2d0fd
Author: Jan Schneider <jan@horde.org>
Date:   Mon Jan 30 16:07:59 2012 +0100

     Enforce C locale (Bug #9166).

  passwd/lib/Driver/Expect.php |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/e6880107c1605739822f7f5144b7a2df31c2d0fd
01/30/2012 03:09:18 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (refs/heads/master):

commit 2244537968c9815f917473eae09791568955fd8a
Author: Jan Schneider <jan@horde.org>
Date:   Mon Jan 30 16:09:01 2012 +0100

     [jan] Make expect driver locale independent (Bug #9166).

  passwd/docs/CHANGES |    1 +
  passwd/package.xml  |    2 ++
  2 files changed, 3 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/2244537968c9815f917473eae09791568955fd8a
01/30/2012 03:09:16 PM Jan Schneider State ⇒ Resolved
 
01/30/2012 03:09:12 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (refs/heads/master):

commit e6880107c1605739822f7f5144b7a2df31c2d0fd
Author: Jan Schneider <jan@horde.org>
Date:   Mon Jan 30 16:07:59 2012 +0100

     Enforce C locale (Bug #9166).

  passwd/lib/Driver/Expect.php |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/e6880107c1605739822f7f5144b7a2df31c2d0fd
01/12/2012 11:07:12 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #4 Reply to this comment
I think it will be a good idea to add "export LANG=C; export LC_ALL=C; "
general to the passwd_expect script to be sure to work with any locale.
08/09/2010 10:35:17 AM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #3 Reply to this comment
It work now with the following change on the passwd_expect script:

set program            "export LANG=C; export LC_ALL=C; passwd"

08/08/2010 12:32:49 PM Jan Schneider State ⇒ Not A Bug
 
08/08/2010 10:53:05 AM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #2 Reply to this comment
It's not a Bug!
In Ubuntu 8.04 passwd talks in english, in Ubuntu 10.04 it's in german 
and the expect script don't work.
08/07/2010 09:47:31 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ Passwd
Summary ⇒ passwd_expect dont work on ubuntu 10.04
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
passwd_expect works fine on Ubuntu 8.04 with expect version:
expect 5.43.0-14

but don't work on Ubuntu 10.04 with expect version:
expect 5.44.1.14-5

Horde/Passwd error:
Fehler beim Ändern des Passworts für Example Expect Script: Could not 
start passwd program (no old password prompt)

and the auth.log
Aug  7 23:41:27 mailserver sshd[18004]: Accepted password for 
test.user from 127.0.0.1 port 57672 ssh2
Aug  7 23:41:27 mailserver sshd[18004]: pam_unix(sshd:session): 
session opened for user test.user by (uid=0)
Aug  7 23:41:48 mailserver sshd[18070]: Received disconnect from 
127.0.0.1: 11: disconnected by user
Aug  7 23:41:48 mailserver sshd[18004]: pam_unix(sshd:session): 
session closed for user test.user
Aug  7 23:41:48 mailserver passwd[18088]: pam_unix(passwd:chauthtok): 
conversation failed
Aug  7 23:41:48 mailserver passwd[18088]: pam_unix(passwd:chauthtok): 
password - (old) token not obtained


Aug  7 23:41:27 -> Aug  7 23:41:48 must be an timeout, but why passwd 
don't work?

Saved Queries