[PATCH] AIX password expiration

Darren Tucker dtucker at zip.com.au
Sun Oct 27 18:54:40 EST 2002


Ben Lindstrom wrote:
> 
> Only complaint off hand:
> 
> +/* password change for protocol 2 */
> +int
> +auth_change_password(Authctxt *authctxt, const char *oldpasswd, const
> char
> *newpasswd)
> +{
> +#ifdef WITH_AIXAUTHENTICATE
> +        return aix_change_password(authctxt->pw, oldpasswd, newpasswd);
> +#endif
> +}
> 
> If you are not using aixauth and you get into this state.  You need to
> have the return a default 'failure/unsupported'.

Add "return 0;" at the end of the function?

-- 
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.



More information about the openssh-unix-dev mailing list