summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-14 09:27:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:44 -0500
commit4b57919051aefe93398acd800a98a285adeaf8bc (patch)
treec3a7f78973a3bbf0331a6f414b22a4270baf53a5 /source3/nsswitch
parentddbf92325339f36c6bf38b8a2e266ecdf2b43f1b (diff)
downloadsamba-4b57919051aefe93398acd800a98a285adeaf8bc.tar.gz
samba-4b57919051aefe93398acd800a98a285adeaf8bc.tar.bz2
samba-4b57919051aefe93398acd800a98a285adeaf8bc.zip
r18507: Added debug log for returned username.
Jeremy. (This used to be commit 7644fa70ba4f7c88d887930e23b5ee2e1632473b)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/pam_winbind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c
index 64356e579a..eace97aa64 100644
--- a/source3/nsswitch/pam_winbind.c
+++ b/source3/nsswitch/pam_winbind.c
@@ -1024,6 +1024,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
out:
if (username_ret) {
pam_set_item (pamh, PAM_USER, username_ret);
+ _pam_log_debug(pamh, ctrl, LOG_INFO, "Returned user was '%s'", username_ret);
free(username_ret);
}