git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
299e6c7
)
pam_winbind: use pam error string function to display result.
author
Günther Deschner
<gd@samba.org>
Thu, 14 Aug 2008 18:56:47 +0000
(20:56 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 19 Aug 2008 13:23:46 +0000
(15:23 +0200)
Guenther
(This used to be commit
8504a92ac55d6936df051be66207a59a76bf32a3
)
source3/nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/pam_winbind.c
b/source3/nsswitch/pam_winbind.c
index 872a1b72ea41ef71c775e61a27cdcbb756480e40..7532aeabcde0d75a46d5b7f0cdfa4018a8fb1cec 100644
(file)
--- 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)