summaryrefslogtreecommitdiff
path: root/src/responder/sudo
AgeCommit message (Collapse)AuthorFilesLines
2012-02-29Remove sysdb_get_ctx_from_list()Sumit Bose1-7/+4
2012-02-23Move sudo_dom_ctx.user to local variablePavel Březina2-8/+8
2012-02-23Honor case_sensitive option in sudo responderPavel Březina4-21/+100
https://fedorahosted.org/sssd/ticket/1205
2012-02-21Don't give memory context in confdb where not neededJan Zeleny1-3/+3
2012-02-10SUDO responder: check if the input is a UTF-8 stringPavel Březina1-0/+7
https://fedorahosted.org/sssd/ticket/1171
2012-02-06SUDO Integration - fix offline behaviourPavel Březina1-2/+2
2012-02-04SUDO Integration - responder 'sudo_timed' optionPavel Březina3-1/+32
https://fedorahosted.org/sssd/ticket/1116
2012-02-04SUDO Integration - in-memory cache in responderPavel Březina5-9/+415
New sudo responder option: cache_timeout https://fedorahosted.org/sssd/ticket/1111
2012-01-30Fix sudo compilation on RHEL5Jakub Hrozek1-0/+2
2012-01-27SUDO Integration - responder command for cn=defaultsPavel Březina4-18/+93
https://fedorahosted.org/sssd/ticket/1143
2012-01-27SUDO Integration - prepare data provider for new responder commandsPavel Březina1-1/+1
https://fedorahosted.org/sssd/ticket/1143
2012-01-27SUDO Integration - make sysdb_get_sudo_filter() more configurablePavel Březina1-2/+5
https://fedorahosted.org/sssd/ticket/1143
2012-01-27Rename sss_dp_type to sss_dp_sudo_typeStephen Gallagher2-4/+4
I pushed an older version of this patch that had the incorrect name. This is the interdiff.
2012-01-27Use the new SUDO request in DP and sudo responderJakub Hrozek3-216/+67
Also remove the old request implementation https://fedorahosted.org/sssd/ticket/1115
2012-01-27SUDO: Provide a sudo DP request based on the internal_reqJakub Hrozek2-0/+144
2012-01-23DP: Fix bugs in sss_dp_get_account_intStephen Gallagher1-0/+1
The conversion to the tevent_req style introduced numerous bugs related to memory management of the various client requests. In some circumstances, this could cause memory corruption and segmentation faults in the NSS responder. This patch makes the following changes: 1) Rename the internal lookup from subreq to sidereq, to indicate that it is not a sub-request of the current lookup (and therefore is not cancelled if the current request is). 2) Change the handling of the callback loops since they call tevent_req_[done|error], which results in them being freed (and therefore removed from the cb_list. This was the source of the memory corruption that would occasionally result in dereferencing an unreadable request. 3) Remove the unnecessary sss_dp_get_account_int_recv() function and change sss_dp_get_account_done() so that it only frees the sidereq. All of the waiting processes have already been signaled with the final results from sss_dp_get_account_int_done()
2012-01-21RESPONDER: Extend sss_dp_account_send() to include extra dataStephen Gallagher1-1/+1
Some NSS maps such as 'services' require more values to be passed to the data provider than just the name or ID. In these cases, we will amend an optional component to filter value to pass to the data provider backend.
2012-01-17SUDO Integration review issuesPavel Březina2-1/+4
2011-12-16SUDO Integration - responder - get sudo rules logicJakub Hrozek1-2/+444
2011-12-16SUDO Integration - responderPavel Březina6-0/+1041