From 5860e321d82d007a5b7f4a1ff9a3893156e22b19 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Fri, 14 Dec 2012 12:51:33 +0100 Subject: 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. --- src/providers/ldap/sdap_sudo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/providers/ldap/sdap_sudo.h') 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 { -- cgit