summaryrefslogtreecommitdiffstats
path: root/src/responder/sudo
Commit message (Collapse)AuthorAgeFilesLines
* Modified responder_get_domain()Jan Zeleny2012-04-241-1/+1
| | | | Now it checks for subdomains as well as for the domain itself
* Potential NULL-dereference in sudosrv_cmd_get_sudorulesPavel Březina2012-03-091-14/+12
| | | | https://fedorahosted.org/sssd/ticket/1236
* Use of unininitialized value in sudosrv_cache_set_entry and ↵Pavel Březina2012-03-091-0/+2
| | | | | | sudosrv_cache_lookup_internal https://fedorahosted.org/sssd/ticket/1232
* Use the correct hash table for pending requestsSimo Sorce2012-03-081-1/+1
| | | | | | | | | | | | | The function that handled pending requests on reconnect was checking an orphaned global variable that was never used, redenring the whole function uselsess. This fixes a very nasty bug that was causing requests for which we never received an answer for (for example because the backend failed and was restarted) to be never removed and therefore causing a black hole effect for any other request of the same type. Fixes: https://fedorahosted.org/sssd/ticket/1229
* Remove sysdb_get_ctx_from_list()Sumit Bose2012-02-291-7/+4
|
* Move sudo_dom_ctx.user to local variablePavel Březina2012-02-232-8/+8
|
* Honor case_sensitive option in sudo responderPavel Březina2012-02-234-21/+100
| | | | https://fedorahosted.org/sssd/ticket/1205
* Don't give memory context in confdb where not neededJan Zeleny2012-02-211-3/+3
|
* SUDO responder: check if the input is a UTF-8 stringPavel Březina2012-02-101-0/+7
| | | | https://fedorahosted.org/sssd/ticket/1171
* SUDO Integration - fix offline behaviourPavel Březina2012-02-061-2/+2
|
* SUDO Integration - responder 'sudo_timed' optionPavel Březina2012-02-043-1/+32
| | | | https://fedorahosted.org/sssd/ticket/1116
* SUDO Integration - in-memory cache in responderPavel Březina2012-02-045-9/+415
| | | | | | New sudo responder option: cache_timeout https://fedorahosted.org/sssd/ticket/1111
* Fix sudo compilation on RHEL5Jakub Hrozek2012-01-301-0/+2
|
* SUDO Integration - responder command for cn=defaultsPavel Březina2012-01-274-18/+93
| | | | https://fedorahosted.org/sssd/ticket/1143
* SUDO Integration - prepare data provider for new responder commandsPavel Březina2012-01-271-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1143
* SUDO Integration - make sysdb_get_sudo_filter() more configurablePavel Březina2012-01-271-2/+5
| | | | https://fedorahosted.org/sssd/ticket/1143
* Rename sss_dp_type to sss_dp_sudo_typeStephen Gallagher2012-01-272-4/+4
| | | | | I pushed an older version of this patch that had the incorrect name. This is the interdiff.
* Use the new SUDO request in DP and sudo responderJakub Hrozek2012-01-273-216/+67
| | | | | | Also remove the old request implementation https://fedorahosted.org/sssd/ticket/1115
* SUDO: Provide a sudo DP request based on the internal_reqJakub Hrozek2012-01-272-0/+144
|
* DP: Fix bugs in sss_dp_get_account_intStephen Gallagher2012-01-231-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()
* RESPONDER: Extend sss_dp_account_send() to include extra dataStephen Gallagher2012-01-211-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.
* SUDO Integration review issuesPavel Březina2012-01-172-1/+4
|
* SUDO Integration - responder - get sudo rules logicJakub Hrozek2011-12-161-2/+444
|
* SUDO Integration - responderPavel Březina2011-12-166-0/+1041