summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_sudo_cache.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-04-23 15:07:17 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-06-29 11:37:16 -0400
commit80357fbba7e8251c85aa884749f275eed28eb4eb (patch)
treebc65ffa47310a477d42f15cdd43730aabcd1a072 /src/providers/ldap/sdap_sudo_cache.h
parent4cab4191f9e0d8d2cc04084964c71454a62852fe (diff)
downloadsssd-80357fbba7e8251c85aa884749f275eed28eb4eb.tar.gz
sssd-80357fbba7e8251c85aa884749f275eed28eb4eb.tar.bz2
sssd-80357fbba7e8251c85aa884749f275eed28eb4eb.zip
sudo ldap provider: add expiration time to each rule
Diffstat (limited to 'src/providers/ldap/sdap_sudo_cache.h')
-rw-r--r--src/providers/ldap/sdap_sudo_cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_sudo_cache.h b/src/providers/ldap/sdap_sudo_cache.h
index 6bd94235..146d38f2 100644
--- a/src/providers/ldap/sdap_sudo_cache.h
+++ b/src/providers/ldap/sdap_sudo_cache.h
@@ -28,6 +28,8 @@ errno_t
sdap_save_native_sudorule_list(struct sysdb_ctx *sysdb_ctx,
struct sdap_attr_map *map,
struct sysdb_attrs **replies,
- size_t replies_count);
+ size_t replies_count,
+ int cache_timeout,
+ time_t now);
#endif /* _SDAP_SUDO_CACHE_H_ */