diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-01-24 13:42:59 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-04 08:27:16 -0500 |
commit | 41ef946f3f74a46b9e26118116e4811e259b30ef (patch) | |
tree | d88a5b7a94eaee2f2407c1ffa43ff3497d99c90b /src/confdb | |
parent | bd92e8ee315d4da9350b9ef0358c88a7b54aeebe (diff) | |
download | sssd-41ef946f3f74a46b9e26118116e4811e259b30ef.tar.gz sssd-41ef946f3f74a46b9e26118116e4811e259b30ef.tar.bz2 sssd-41ef946f3f74a46b9e26118116e4811e259b30ef.zip |
SUDO Integration - in-memory cache in responder
New sudo responder option: cache_timeout
https://fedorahosted.org/sssd/ticket/1111
Diffstat (limited to 'src/confdb')
-rw-r--r-- | src/confdb/confdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index 7b5a2c94..fc222aee 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -93,6 +93,8 @@ /* SUDO */ #define CONFDB_SUDO_CONF_ENTRY "config/sudo" +#define CONFDB_SUDO_CACHE_TIMEOUT "sudo_cache_timeout" +#define CONFDB_DEFAULT_SUDO_CACHE_TIMEOUT 180 /* Data Provider */ #define CONFDB_DP_CONF_ENTRY "config/dp" |