summaryrefslogtreecommitdiff
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:15:22 +0100
commit5860e321d82d007a5b7f4a1ff9a3893156e22b19 (patch)
tree071078865b8b63cde1e111a9fb325ab374ef5800 /src/providers/ldap/sdap_sudo.h
parente5c9834c45849cbf82ea420fa3e0efdc102cc26e (diff)
downloadsssd-5860e321d82d007a5b7f4a1ff9a3893156e22b19.tar.gz
sssd-5860e321d82d007a5b7f4a1ff9a3893156e22b19.tar.bz2
sssd-5860e321d82d007a5b7f4a1ff9a3893156e22b19.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 5a12afd5..6384c7b8 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 {