summaryrefslogtreecommitdiffstats
path: root/sss_client
diff options
context:
space:
mode:
Diffstat (limited to 'sss_client')
-rw-r--r--sss_client/pam_sss.c4
-rw-r--r--sss_client/sss_cli.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sss_client/pam_sss.c b/sss_client/pam_sss.c
index 7dff361e0..03d902f15 100644
--- a/sss_client/pam_sss.c
+++ b/sss_client/pam_sss.c
@@ -408,12 +408,12 @@ static int eval_response(pam_handle_t *pamh, size_t buflen, uint8_t *buf)
}
switch(type) {
- case PAM_USER_INFO:
+ case PAM_SYSTEM_INFO:
if (buf[p + (len -1)] != '\0') {
D(("user info does not end with \\0."));
break;
}
- logger(pamh, LOG_INFO, "user info: [%s]", &buf[p]);
+ logger(pamh, LOG_INFO, "system info: [%s]", &buf[p]);
break;
case PAM_DOMAIN_NAME:
D(("domain name: [%s]", &buf[p]));
diff --git a/sss_client/sss_cli.h b/sss_client/sss_cli.h
index 7c18e1cf8..3996fff29 100644
--- a/sss_client/sss_cli.h
+++ b/sss_client/sss_cli.h
@@ -169,7 +169,7 @@ enum sss_status {
};
enum response_type {
- PAM_USER_INFO = 0x01,
+ PAM_SYSTEM_INFO = 0x01,
PAM_DOMAIN_NAME,
PAM_ENV_ITEM, /* only pam environment */
ENV_ITEM, /* only user environment */