summaryrefslogtreecommitdiffstats
path: root/server
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 /server
parent573f1d6e29dbd4c1ab6a560f4f2da3a0512832e3 (diff)
downloadsssd-f64617bcac3c996dc00beddfdadf135d9c8ae049.tar.gz
sssd-f64617bcac3c996dc00beddfdadf135d9c8ae049.tar.xz
sssd-f64617bcac3c996dc00beddfdadf135d9c8ae049.zip
Rename PAM_USER_INFO to PAM_SYSTEM_INFO
Diffstat (limited to 'server')
-rw-r--r--server/providers/data_provider_be.c2
-rw-r--r--server/providers/krb5/krb5_child.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c
index 97cc9f875..72b671ba8 100644
--- a/server/providers/data_provider_be.c
+++ b/server/providers/data_provider_be.c
@@ -587,7 +587,7 @@ static int be_pam_handler(DBusMessage *message, struct sbus_connection *conn)
if (!becli->bectx->bet_info[target].bet_ops) {
DEBUG(7, ("Undefined backend target.\n"));
pd->pam_status = PAM_MODULE_UNKNOWN;
- ret = pam_add_response(pd, PAM_USER_INFO,
+ ret = pam_add_response(pd, PAM_SYSTEM_INFO,
sizeof(MSG_TARGET_NO_CONFIGURED),
(const uint8_t *) MSG_TARGET_NO_CONFIGURED);
if (ret != EOK) {
diff --git a/server/providers/krb5/krb5_child.c b/server/providers/krb5/krb5_child.c
index 04cf1f067..a8eed714f 100644
--- a/server/providers/krb5/krb5_child.c
+++ b/server/providers/krb5/krb5_child.c
@@ -300,7 +300,7 @@ static struct response *prepare_response_message(struct krb5_req *kr,
if (kerr == 0) {
if(kr->pd->cmd == SSS_PAM_CHAUTHTOK_PRELIM) {
- ret = pack_response_packet(resp, PAM_SUCCESS, PAM_USER_INFO,
+ ret = pack_response_packet(resp, PAM_SUCCESS, PAM_SYSTEM_INFO,
"success");
} else {
if (kr->ccname == NULL) {
@@ -324,7 +324,7 @@ static struct response *prepare_response_message(struct krb5_req *kr,
return NULL;
}
- ret = pack_response_packet(resp, pam_status, PAM_USER_INFO, krb5_msg);
+ ret = pack_response_packet(resp, pam_status, PAM_SYSTEM_INFO, krb5_msg);
sss_krb5_free_error_message(krb5_error_ctx, krb5_msg);
}