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:
parent
693f90fd23
commit
8504a92ac5
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user