summaryrefslogtreecommitdiffstats
path: root/src/responder/sudo/sudosrv_private.h
Commit message (Collapse)AuthorAgeFilesLines
* sudo responder: change num_rules type from size_t to uint32_tPavel Březina2013-01-221-4/+4
| | | | | | | | https://fedorahosted.org/sssd/ticket/1779 2^32 should be enough to store sudo rules. size_t type was causing troubles on big endian architectures, because it wasn't used correctly in combination with D-Bus.
* RESPONDERS: Create a common file with service names and versionsJakub Hrozek2012-12-181-2/+0
| | | | | | | The monitor sends calls different sbus methods to different responders. Instead of including headers of the particular responders directly in monitor, which breaks layering a little, create a common header file that will be included from src/responder/common/
* sudo: do not send domain name with usernamePavel Březina2012-11-141-1/+0
| | | | | | | | This caused troubles with subdomain users and it is not really necessary. This patch does not change the protocol itself, that should be done on the earliest possible occasion. Part of https://fedorahosted.org/sssd/ticket/1616
* sudo: support users from subdomainsPavel Březina2012-11-141-7/+10
| | | | https://fedorahosted.org/sssd/ticket/1616
* sudo responder: schedule OOB full refresh when expired rule is deletedPavel Březina2012-06-291-0/+2
|
* sudo responder: update dp interfacePavel Březina2012-06-291-3/+5
|
* sudo responder: new request enum typePavel Březina2012-06-291-1/+6
| | | | | | | | | sss_sudo_type represents query type that comes to the responder sss_dp_sudo_type represents query type to DP that is issued by the responder I'm leaving current values of sss_dp_sudo_type untouched so the compilation is not broken. Hovewer, they will be changed to new DP types once the DP interface is updated.
* sudo responder: discard in-memory cachePavel Březina2012-06-291-28/+0
|
* sudo api: send uid, username and domainnamePavel Březina2012-06-291-0/+3
| | | | | | | | | | | https://fedorahosted.org/sssd/ticket/1239 Test client was changed accordingly. The new usage is: sss_sudo_cli username [uid] If uid is not set, getpwnam(username) is called. It will retrieve both default options and rules.
* sudo responder: get rid of dctx where possiblePavel Březina2012-06-291-8/+12
|
* sudo responder: remove code duplication in commandsPavel Březina2012-06-291-34/+13
|
* Move sudo_dom_ctx.user to local variablePavel Březina2012-02-231-1/+0
|
* Honor case_sensitive option in sudo responderPavel Březina2012-02-231-0/+2
| | | | https://fedorahosted.org/sssd/ticket/1205
* SUDO Integration - responder 'sudo_timed' optionPavel Březina2012-02-041-0/+1
| | | | https://fedorahosted.org/sssd/ticket/1116
* SUDO Integration - in-memory cache in responderPavel Březina2012-02-041-0/+33
| | | | | | New sudo responder option: cache_timeout https://fedorahosted.org/sssd/ticket/1111
* SUDO Integration - responder command for cn=defaultsPavel Březina2012-01-271-4/+8
| | | | https://fedorahosted.org/sssd/ticket/1143
* Rename sss_dp_type to sss_dp_sudo_typeStephen Gallagher2012-01-271-2/+2
| | | | | 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-271-8/+0
| | | | | | 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-271-0/+19
|
* SUDO Integration - responderPavel Březina2011-12-161-0/+109