Re: Expired password, openssh not invoking password change.
From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 11/29/05
- Next message: Darren Tucker: "Re: Compiling OpenSSH with Kerberos support"
- Previous message: pseudometric: "Re: Compiling OpenSSH with Kerberos support"
- In reply to: robbecker_at_gmail.com: "Expired password, openssh not invoking password change."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Nov 2005 03:04:49 GMT
On 2005-11-28, robbecker@gmail.com <robbecker@gmail.com> wrote:
> It looks like I've run into a problem. I can't be sure if this is a
> software bug or a designed feature with OpenSSH. I am currently
> running OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005.
It's probably a bug somewhere, although it may or may not be in OpenSSH.
[...]
> When I attempt to login I get this:
>
> login as: testuser
> Using keyboard-interactive authentication.
> Password:
> You are required to change your LDAP password immediately.
>
> Last login: Mon Nov 28 09:03:49 2005 from rbecker.motogroup.com
It looks like you are using PAM?
> It never forces me to change my password. Nothing in the logs say there
> are any problems, files not found or errors. Does anyone have any idea
> why OpenSSH isn't calling the passwd application when the users password
> is expired?
Based on the output here, I would guess it's because your pam_acct_mgmt()
is not saying that the the password is expired (ie returning PAM_SUCCESS
rather than PAM_NEW_AUTHTOK_REQD).
If you run sshd in debug mode (eg "path/to/sshd -ddde -p 2022" then connect
to port 2022) you will see what PAM is returning (look for "pam_acct_mgmt =
[something]").
If that's not it, please open an OpenSSH bug at
http://bugzilla.mindrot.org/ and we'll see what we can do to sort it out.
If you do, please include the compile-time options and any non-default
sshd_config options you used. Also, a copy of the PAM config for sshd
would also be useful, if you are in fact using PAM.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Darren Tucker: "Re: Compiling OpenSSH with Kerberos support"
- Previous message: pseudometric: "Re: Compiling OpenSSH with Kerberos support"
- In reply to: robbecker_at_gmail.com: "Expired password, openssh not invoking password change."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|