summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_sudo.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix formating of variables with type: size_tLukas Slebodnik2013-09-111-1/+1
|
* LDAP: new SDAP domain structureJakub Hrozek2013-06-071-1/+1
| | | | | | | | | | | Previously an sdap_id_ctx was always tied to one domain with a single set of search bases. But with the introduction of Global Catalog lookups, primary domain and subdomains might have different search bases. This patch introduces a new structure sdap_domain that contains an sssd domain or subdomain and a set of search bases. With this patch, there is only one sdap_domain that describes the primary domain.
* Remove sysdb as a be context structure memberSimo Sorce2013-01-211-1/+1
| | | | The sysdb context is already available through the 'domain' structure.
* Add domain arguments to sysdb sudo functionsSimo Sorce2013-01-151-5/+9
|
* Make sysdb_custom_subtree_dn() require a domain.Simo Sorce2013-01-151-2/+4
|
* Fix tevent_req style for sdap_async_sudo.Simo Sorce2013-01-071-22/+22
| | | | | | Use correct name for _done() function from the caller. Remove unneded initializzations to NULL for a lot of variables hat are going to be assigned as the first thing done in the functions.
* set ret to EOK after for loop in sdap_sudo_purge_sudoersPavel Březina2013-01-021-0/+2
| | | | | | | | | | If we are unable to delete some rule from cache we print a debug message and ignore the error. Thus we should set ret to EOK after the for loop otherwise we return whether the last rule was deleted successfully or not. This also removes compilation warning that ret may be used uninitialized (when we don't go inside the loop at all).
* Unify usage of sysdb transactionsMichal Zidek2012-08-231-2/+5
| | | | | | Removing bad examples of usage of sysdb_transaction_start/commit/end functions and making it more consistent (all files except of src/db/sysdb_*.c).
* Fix uninitialized valuesNick Guay2012-07-181-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1379
* sudo ldap provider: return number of downloaded rules in ↵Pavel Březina2012-06-291-1/+8
| | | | sdap_sudo_refresh_recv()
* sudo ldap provider: when sysdb filter is NULL remove downloaded rulesPavel Březina2012-06-291-5/+61
|
* sudo ldap provider: find highest USNPavel Březina2012-06-291-10/+24
|
* sudo ldap provider: add expiration time to each rulePavel Březina2012-06-291-4/+11
|
* sudo ldap provider: add domain info in sdap_sudo_refresh_statePavel Březina2012-06-291-0/+2
|
* sudo ldap provider: add sysdb ctx in sdap_sudo_refresh_statePavel Březina2012-06-291-7/+7
|
* sudo ldap provider: give sdap_sudo_refresh_send() search and purge filtersPavel Březina2012-06-291-272/+85
|
* sudo ldap provider: move async routines to sdap_async_sudo.cPavel Březina2012-06-291-0/+710