summaryrefslogtreecommitdiffstats
path: root/sss_client
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-01-08 14:52:17 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-01 08:50:57 -0500
commitf64617bcac3c996dc00beddfdadf135d9c8ae049 (patch)
treebe7ff5dd5a5c031113aecb82024252b63cf5c1d0 /sss_client
parent573f1d6e29dbd4c1ab6a560f4f2da3a0512832e3 (diff)
downloadsssd-f64617bcac3c996dc00beddfdadf135d9c8ae049.tar.gz
sssd-f64617bcac3c996dc00beddfdadf135d9c8ae049.tar.xz
sssd-f64617bcac3c996dc00beddfdadf135d9c8ae049.zip
Rename PAM_USER_INFO to PAM_SYSTEM_INFO
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 */