diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-12-14 12:51:33 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-18 17:15:22 +0100 |
commit | 5860e321d82d007a5b7f4a1ff9a3893156e22b19 (patch) | |
tree | 071078865b8b63cde1e111a9fb325ab374ef5800 /src/providers/ldap/sdap_sudo.h | |
parent | e5c9834c45849cbf82ea420fa3e0efdc102cc26e (diff) | |
download | sssd-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.h | 1 |
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 { |