summaryrefslogtreecommitdiffstats
path: root/lib/libpam
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2011-03-12 11:26:37 +0000
committerdes <des@FreeBSD.org>2011-03-12 11:26:37 +0000
commit6470f47d704d3352f5186ba4f216d3c12e06812b (patch)
tree0669df09f71dc2a38dfb9f088c73bc8dd81e1249 /lib/libpam
parentf2482661e2305740ebd7aee093c500de3462192f (diff)
downloadFreeBSD-src-6470f47d704d3352f5186ba4f216d3c12e06812b.zip
FreeBSD-src-6470f47d704d3352f5186ba4f216d3c12e06812b.tar.gz
Mention the name of the module in warning messages.
Diffstat (limited to 'lib/libpam')
-rw-r--r--lib/libpam/modules/pam_group/pam_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpam/modules/pam_group/pam_group.c b/lib/libpam/modules/pam_group/pam_group.c
index f09d518..a6e32cd 100644
--- a/lib/libpam/modules/pam_group/pam_group.c
+++ b/lib/libpam/modules/pam_group/pam_group.c
@@ -75,14 +75,14 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused,
local = openpam_get_option(pamh, "luser") ? 1 : 0;
remote = openpam_get_option(pamh, "ruser") ? 1 : 0;
if (local && remote) {
- openpam_log(PAM_LOG_ERROR,
+ openpam_log(PAM_LOG_ERROR, "(pam_group) "
"the luser and ruser options are mutually exclusive");
return (PAM_SERVICE_ERR);
} else if (local) {
/* we already have the correct struct passwd */
} else {
if (!remote)
- openpam_log(PAM_LOG_NOTICE,
+ openpam_log(PAM_LOG_NOTICE, "(pam_group) "
"neither luser nor ruser specified, assuming ruser");
/* default / historical behavior */
if (pam_get_item(pamh, PAM_RUSER, &ruser) != PAM_SUCCESS ||
OpenPOWER on IntegriCloud