From 80357fbba7e8251c85aa884749f275eed28eb4eb Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Mon, 23 Apr 2012 15:07:17 +0200 Subject: sudo ldap provider: add expiration time to each rule --- src/providers/ldap/sdap_sudo_cache.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/providers/ldap/sdap_sudo_cache.h') 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_ */ -- cgit