Add extra logging detail. This needs a more general solution.

This commit is contained in:
Mark Murray 2001-08-26 17:57:44 +00:00
parent 76ed168a7a
commit 76f4a6fd79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82357

View file

@ -85,6 +85,10 @@ _pam_log_retval(struct options *options, const char *file, const char *function,
syslog(LOG_DEBUG, "%s: %s: returning PAM_IGNORE",
modname, function);
break;
case PAM_PERM_DENIED:
syslog(LOG_DEBUG, "%s: %s: returning PAM_PERM_DENIED",
modname, function);
break;
default:
syslog(LOG_DEBUG, "%s: %s: returning (%d)",
modname, function, retval);