From 9468a58f9bd191ef80c114943a288037c635a835 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 27 Oct 2010 13:34:54 +0200 Subject: Introduce pam_verbosity config option Currently we display all PAM messages generated by sssd to the user. But only some of them are important and others are just some useful information. This patch introduces a new option to the PAM responder which controls what kind of messages are displayed. As an example the 'Authenticated with cached credentials' message is used. This message is only displayed if pam_verbosity=1 or if there is an expire date. --- src/confdb/confdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/confdb') diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index 5726ad5dc..eccb98d36 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -80,6 +80,7 @@ #define CONFDB_DEFAULT_PAM_FAILED_LOGIN_ATTEMPTS 0 #define CONFDB_PAM_FAILED_LOGIN_DELAY "offline_failed_login_delay" #define CONFDB_DEFAULT_PAM_FAILED_LOGIN_DELAY 5 +#define CONFDB_PAM_VERBOSITY "pam_verbosity" /* Data Provider */ #define CONFDB_DP_CONF_ENTRY "config/dp" -- cgit