diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/providers/data_provider_be.c | 2 | ||||
-rw-r--r-- | server/providers/krb5/krb5_child.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c index 97cc9f87..72b671ba 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 04cf1f06..a8eed714 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); } |