summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_sudo.h
AgeCommit message (Collapse)AuthorFilesLines
2012-12-18sudo: do full refresh when data provider is back onlinePavel Březina1-0/+3
https://fedorahosted.org/sssd/ticket/1689 Add a online callback if the first full refresh fails due to the provider beeing offline so we can perform the refresh as soon as possible.
2012-12-18sudo: schedule another full refresh in short interval if the first failsPavel Březina1-0/+1
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.
2012-12-18add sdap_sudo_schedule_refresh()Pavel Březina1-0/+6
Reduces amount of code duplication.
2012-10-24sudo: do not fail if usn value is zero but full refresh is completedPavel Březina1-0/+2
https://fedorahosted.org/sssd/ticket/1596 In case that LDAP server contains zero sudo rules, the full refresh completes succussfully and stores current USN value (= 0). But then smart refresh will fail because it takes USN=0 as invalid value.
2012-06-29sudo ldap provider: load host filter configuration on initPavel Březina1-0/+9
We need to load host information during provider initialization. Currently it loads only values from configuration files, but it is implemented as an asynchrounous request as it will later try to autodetect these settings (which will need to contact DNS).
2012-06-29sudo ldap provider: pass sudo_ctx instead of id_ctxPavel Březina1-2/+12
I had to create a new context structure to store additional information such as ip addresses and hostnames.
2012-06-29sudo ldap provider: return number of downloaded rules in ↵Pavel Březina1-1/+2
sdap_sudo_refresh_recv()
2012-06-29sudo ldap provider: find highest USNPavel Březina1-2/+4
2012-06-29sudo ldap provider: add new timer APIPavel Březina1-0/+16
2012-06-29sudo ldap provider: provide API for full refreshPavel Březina1-1/+1
2012-06-29sudo ldap provider: give sdap_sudo_refresh_send() search and purge filtersPavel Březina1-2/+3
2012-02-04Move BUILD_SUDO outside the generic LDAP source filesJakub Hrozek1-0/+8
Avoid #ifdefs in the general part of the code
2012-01-27SUDO Integration - prepare data provider for new responder commandsPavel Březina1-14/+5
https://fedorahosted.org/sssd/ticket/1143
2012-01-17SUDO Integration - wrap data provider with tevent_reqPavel Březina1-0/+8
https://fedorahosted.org/sssd/ticket/1110
2011-12-20SUDO Integration - be_sudo_req removed from sudo_ctxPavel Březina1-1/+0
2011-12-16SUDO integration - LDAP providerPavel Březina1-0/+47