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 19:55:32 +0100
commitbc90c44b2f9d0a1b6b7921aa75d2efbf3408232a (patch)
treead55e95659adb8c4bcc3e2f57be7bc68e696cea6 /src/providers/ldap/sdap_sudo.h
parentdf1b0949b78a0eb4bcb94d773837ec825cc066ce (diff)
downloadsssd-bc90c44b2f9d0a1b6b7921aa75d2efbf3408232a.tar.gz
sssd-bc90c44b2f9d0a1b6b7921aa75d2efbf3408232a.tar.xz
sssd-bc90c44b2f9d0a1b6b7921aa75d2efbf3408232a.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 {