[SSSD] [PATCH] do not show server messages to user

Sumit Bose sbose at redhat.com
Wed Aug 26 12:40:48 UTC 2009


Hi,

with this patch the server messages indicating the reason of an
authentication error are not displayed to the user anymore. But they are
still send to syslog.

Is there anything else which should be sent to syslog according to
https://fedorahosted.org/sssd/ticket/32 ? Otherwise I would close the
ticket.

bye,
Sumit
-------------- next part --------------
>From 6984bb30734945fc91dae4397c660e00c164e80e Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Wed, 26 Aug 2009 09:39:45 +0200
Subject: [PATCH] do not show server messages to user

---
 sss_client/pam_sss.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/sss_client/pam_sss.c b/sss_client/pam_sss.c
index 9ffd302..5173d65 100644
--- a/sss_client/pam_sss.c
+++ b/sss_client/pam_sss.c
@@ -359,11 +359,6 @@ static int eval_response(pam_handle_t *pamh, size_t buflen, uint8_t *buf)
                     break;
                 }
                 logger(pamh, LOG_INFO, "user info: [%s]", &buf[p]);
-                ret = do_pam_conversation(pamh, PAM_TEXT_INFO, (char *) &buf[p],
-                                          NULL, NULL);
-                if (ret != PAM_SUCCESS) {
-                    D(("do_pam_conversation, canot display user info."));
-                }
                 break;
             case PAM_DOMAIN_NAME:
                 D(("domain name: [%s]", &buf[p]));
-- 
1.6.2.5



More information about the sssd-devel mailing list