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

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);