summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_sudo.h
Commit message (Collapse)AuthorAgeFilesLines
* sudo: do full refresh when data provider is back online1.9.2-49Pavel Březina2012-12-181-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.
* sudo: schedule another full refresh in short interval if the first failsPavel Březina2012-12-181-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.
* add sdap_sudo_schedule_refresh()Pavel Březina2012-12-181-0/+6
| | | | Reduces amount of code duplication.
* sudo: do not fail if usn value is zero but full refresh is completedPavel Březina2012-11-051-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.
* sudo ldap provider: load host filter configuration on initPavel Březina2012-06-291-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).
* sudo ldap provider: pass sudo_ctx instead of id_ctxPavel Březina2012-06-291-2/+12
| | | | | I had to create a new context structure to store additional information such as ip addresses and hostnames.
* sudo ldap provider: return number of downloaded rules in ↵Pavel Březina2012-06-291-1/+2
| | | | sdap_sudo_refresh_recv()
* sudo ldap provider: find highest USNPavel Březina2012-06-291-2/+4
|
* sudo ldap provider: add new timer APIPavel Březina2012-06-291-0/+16
|
* sudo ldap provider: provide API for full refreshPavel Březina2012-06-291-1/+1
|
* sudo ldap provider: give sdap_sudo_refresh_send() search and purge filtersPavel Březina2012-06-291-2/+3
|
* Move BUILD_SUDO outside the generic LDAP source filesJakub Hrozek2012-02-041-0/+8
| | | | Avoid #ifdefs in the general part of the code
* SUDO Integration - prepare data provider for new responder commandsPavel Březina2012-01-271-14/+5
| | | | https://fedorahosted.org/sssd/ticket/1143
* SUDO Integration - wrap data provider with tevent_reqPavel Březina2012-01-171-0/+8
| | | | https://fedorahosted.org/sssd/ticket/1110
* SUDO Integration - be_sudo_req removed from sudo_ctxPavel Březina2011-12-201-1/+0
|
* SUDO integration - LDAP providerPavel Březina2011-12-161-0/+47