diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2019-10-14 16:52:46 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2019-10-14 16:52:46 +0200 |
commit | a6845905869ccabb5eb802be37241eabec085dc7 (patch) | |
tree | 86968b0fb9834ce3eaa55008b0de3a51585f2a26 /modules/pam_rootok | |
parent | f87a953d223d5305adfe3bbb00b4c037c9ae7cd3 (diff) | |
download | pam-a6845905869ccabb5eb802be37241eabec085dc7.tar.gz pam-a6845905869ccabb5eb802be37241eabec085dc7.tar.bz2 pam-a6845905869ccabb5eb802be37241eabec085dc7.zip |
pam_unix: Add logging useful for debugging problems
Two messages added about obtaining the username are guarded
by the debug option as these should not be normally
logged - they can be useful for debugging but they do not
indicate any special condition.
The message about authenticating user with blank password is
still just LOG_DEBUG priority but it is logged unconditionally
because it is somewhat extraordinary condition to have an user
with blank password.
* modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Replace
D() macro calls which are not enabled on production builds with
regular pam_syslog() calls.
Diffstat (limited to 'modules/pam_rootok')
0 files changed, 0 insertions, 0 deletions