summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_async_sudo.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-07LDAP: new SDAP domain structureJakub Hrozek1-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.
2013-01-21Remove sysdb as a be context structure memberSimo Sorce1-1/+1
The sysdb context is already available through the 'domain' structure.
2013-01-15Add domain arguments to sysdb sudo functionsSimo Sorce1-5/+9
2013-01-15Make sysdb_custom_subtree_dn() require a domain.Simo Sorce1-2/+4
2013-01-07Fix tevent_req style for sdap_async_sudo.Simo Sorce1-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.
2013-01-02set ret to EOK after for loop in sdap_sudo_purge_sudoersPavel Březina1-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).
2012-08-23Unify usage of sysdb transactionsMichal Zidek1-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).
2012-07-18Fix uninitialized valuesNick Guay1-1/+1
https://fedorahosted.org/sssd/ticket/1379
2012-06-29sudo ldap provider: return number of downloaded rules in ↵Pavel Březina1-1/+8
sdap_sudo_refresh_recv()
2012-06-29sudo ldap provider: when sysdb filter is NULL remove downloaded rulesPavel Březina1-5/+61
2012-06-29sudo ldap provider: find highest USNPavel Březina1-10/+24
2012-06-29sudo ldap provider: add expiration time to each rulePavel Březina1-4/+11
2012-06-29sudo ldap provider: add domain info in sdap_sudo_refresh_statePavel Březina1-0/+2
2012-06-29sudo ldap provider: add sysdb ctx in sdap_sudo_refresh_statePavel Březina1-7/+7
2012-06-29sudo ldap provider: give sdap_sudo_refresh_send() search and purge filtersPavel Březina1-272/+85
2012-06-29sudo ldap provider: move async routines to sdap_async_sudo.cPavel Březina1-0/+710