search for: oldconv

Displaying 1 result from an estimated 1 matches for "oldconv".

Did you mean: oldconf
2004 Sep 14
1
PATCH: Public key authentication defeats passwd age warning.
..._REQD) - sshpam_password_change_required(1); - - sshpam_account_status = 1; - return (sshpam_account_status); -} - void do_pam_set_tty(const char *tty) { @@ -939,6 +918,45 @@ static struct pam_conv store_conv = { sshpam_store_conv, NULL }; +u_int +do_pam_account(void) +{ + struct pam_conv *OldConv; + if (sshpam_account_status != -1) + return (sshpam_account_status); + + sshpam_err = pam_get_item(sshpam_handle, PAM_CONV, (void *)&OldConv); + if (sshpam_err != PAM_SUCCESS) + fatal ("PAM: failed to get PAM_CONV: %s", + pam_strerror (sshpam_handle, sshpam_err)); + + sshpam_err...