1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

pam_winbind: use pam error string function to display result.

Guenther
This commit is contained in:
Günther Deschner 2008-08-14 20:56:47 +02:00
parent 693f90fd23
commit 8504a92ac5

View File

@ -94,7 +94,8 @@ static const char *_pam_error_code_str(int err)
#define _PAM_LOG_FUNCTION_LEAVE(function, ctx, retval) \
do { \
_pam_log_debug(ctx, LOG_DEBUG, "[pamh: %p] LEAVE: " \
function " returning %d", ctx->pamh, retval); \
function " returning %d (%s)", ctx->pamh, retval, \
_pam_error_code_str(retval)); \
_pam_log_state(ctx); \
} while (0)