mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-05 16:10:55 +00:00
Verbosely (overridable) report failure to the user.
This commit is contained in:
parent
ceca323626
commit
2108fbd748
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81471
|
@ -116,6 +116,10 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv)
|
|||
* password before returning to the application.
|
||||
*/
|
||||
free(principal);
|
||||
|
||||
if (retval != PAM_SUCCESS)
|
||||
PAM_VERBOSE_ERROR("Kerberos IV refuses you");
|
||||
|
||||
PAM_RETURN(retval);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue