diff options
author | Günther Deschner <gd@samba.org> | 2006-05-03 10:19:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:41 -0500 |
commit | 627c4b381a1d94dc72587f414aaeaaa6a2a9db3b (patch) | |
tree | 60d028e82ca8060b36734f862d01f775f61e504e /source3/nsswitch/pam_winbind.c | |
parent | aca0a3ad3a9646e821f2d4c3d30f3a14592df4ae (diff) | |
download | samba-627c4b381a1d94dc72587f414aaeaaa6a2a9db3b.tar.gz samba-627c4b381a1d94dc72587f414aaeaaa6a2a9db3b.tar.bz2 samba-627c4b381a1d94dc72587f414aaeaaa6a2a9db3b.zip |
r15411: Small debug fixes for the PAM module.
Guenther
(This used to be commit 1856dc0f52b2a2ba2e59f1a7a77ccd32c27928c0)
Diffstat (limited to 'source3/nsswitch/pam_winbind.c')
-rw-r--r-- | source3/nsswitch/pam_winbind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index 96fd4d1089..a91129a805 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -286,8 +286,7 @@ static int pam_winbind_request_log(pam_handle_t * pamh, return retval; case PAM_USER_UNKNOWN: /* the user does not exist */ - _pam_log_debug(ctrl, LOG_NOTICE, "user `%s' not found", - user); + _pam_log_debug(ctrl, LOG_NOTICE, "user `%s' not found", user); if (ctrl & WINBIND_UNKNOWN_OK_ARG) { return PAM_IGNORE; } @@ -475,6 +474,7 @@ static int winbind_auth_request(pam_handle_t * pamh, if (response.data.auth.info3.user_flgs & LOGON_CACHED_ACCOUNT) { _make_remark(pamh, PAM_ERROR_MSG, "Logging on using cached account. Network ressources can be unavailable"); + _pam_log_debug(ctrl, LOG_DEBUG,"User %s logged on using cached account\n", user); } /* save the CIFS homedir for pam_cifs / pam_mount */ |