summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_sudo.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-12-14 12:51:33 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-12-18 17:19:36 +0100
commit9043ef6b9f8d5ca8302f9520a162063b7bf7241d (patch)
tree6c932139af4078c3804e68f6d0cea9a7f6b79a10 /src/providers/ldap/sdap_sudo.h
parentb2b0f4e1e2f347c358103397112b5cd51eacfb28 (diff)
downloadsssd-9043ef6b9f8d5ca8302f9520a162063b7bf7241d.tar.gz
sssd-9043ef6b9f8d5ca8302f9520a162063b7bf7241d.tar.xz
sssd-9043ef6b9f8d5ca8302f9520a162063b7bf7241d.zip
sudo: schedule another full refresh in short interval if the first fails
https://fedorahosted.org/sssd/ticket/1689 If the first full refresh of sudo rules fails because the data provider is offline, we will schedule another one in 2, 4, ... minutes.
Diffstat (limited to 'src/providers/ldap/sdap_sudo.h')
-rw-r--r--src/providers/ldap/sdap_sudo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_sudo.h b/src/providers/ldap/sdap_sudo.h
index 5a12afd59..6384c7b81 100644
--- a/src/providers/ldap/sdap_sudo.h
+++ b/src/providers/ldap/sdap_sudo.h
@@ -31,6 +31,7 @@ struct sdap_sudo_ctx {
bool use_host_filter;
bool full_refresh_done;
+ int full_refresh_attempts;
};
enum sdap_sudo_refresh_type {