svn commit: r219564 - head/lib/libpam/modules/pam_group
Dag-Erling Smorgrav
des at FreeBSD.org
Sat Mar 12 11:26:38 UTC 2011
Author: des
Date: Sat Mar 12 11:26:37 2011
New Revision: 219564
URL: http://svn.freebsd.org/changeset/base/219564
Log:
Mention the name of the module in warning messages.
Modified:
head/lib/libpam/modules/pam_group/pam_group.c
Modified: head/lib/libpam/modules/pam_group/pam_group.c
==============================================================================
--- head/lib/libpam/modules/pam_group/pam_group.c Sat Mar 12 11:12:30 2011 (r219563)
+++ head/lib/libpam/modules/pam_group/pam_group.c Sat Mar 12 11:26:37 2011 (r219564)
@@ -75,14 +75,14 @@ pam_sm_authenticate(pam_handle_t *pamh,
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 ||
More information about the svn-src-all
mailing list