After havning some problems with password expire on a standalone system (see Bugid 723) a finally got it together and installed it on a NISPLUS system. Now i'm back to square one, havning the same problem again, though it works with non-nisplus machines. For more detailed information and errors see http://bugzilla.mindrot.org/show_bug.cgi?id=723
I've never tried the patch with NIS+. Please attach (note: create attachment not paste into comment) full server-side debug (ie "sshd -ddd") for your NIS+ system. Are you using PAM or not? Reassigning to me since pwexp isn't part of the main distribution.
Is this a dup of bug #695?
Created attachment 478 [details] sshd -ddd This is a sshd -ddd from the machine
Is HAS_SHADOW_EXPIRE set in config.h?
Yes, it works on a standalone system.
If the expiry info doesn't show in the shadow info (and it doesn't appear to in the debug) then sshd won't know the password is expired. A couple of suggestions: Are you using 3.7.1p2? If not please try it. Try enabling UsePAM and disabling PasswordAuthentication.
Please try openssh-3.7.1p2 + pwexp26. There's hooks in there for PAM password changes via SSH2 keyboard-interactive. http://www.zip.com.au/~dtucker/openssh/openssh-3.7.1p2-pwexp26.patch
Cleaning up open bugs: this one appears to be covered by bug #695. *** This bug has been marked as a duplicate of 695 ***
Did the trick, thanks!
Was that attachment #503 [details] in bug #695 that resolved your problem? I'd just like confirmation so I can close 695 too.
Don't know about #695? The soloution was in comment #7 (pwexp-26)