diff options
author | Günther Deschner <gd@samba.org> | 2008-08-14 20:56:47 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-08-19 15:23:46 +0200 |
commit | 1cef895f4be7d7a2cb8872adba30c82d490a70e1 (patch) | |
tree | 7ae72badd75dbe145159e07f553c4c8c3aeea61f /source3 | |
parent | 299e6c799697e9cafce4eaba3baafa9a344bb802 (diff) | |
download | samba-1cef895f4be7d7a2cb8872adba30c82d490a70e1.tar.gz samba-1cef895f4be7d7a2cb8872adba30c82d490a70e1.tar.bz2 samba-1cef895f4be7d7a2cb8872adba30c82d490a70e1.zip |
pam_winbind: use pam error string function to display result.
Guenther
(This used to be commit 8504a92ac55d6936df051be66207a59a76bf32a3)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/pam_winbind.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index 872a1b72ea..7532aeabcd 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -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) |