summaryrefslogtreecommitdiff
path: root/src/responder/sudo/sudosrv_cmd.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-01sudo: improve time restrictions debug messagesPavel Březina1-0/+7
2013-01-22sudo responder: change num_rules type from size_t to uint32_tPavel Březina1-1/+1
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.
2012-12-02sudo: print message if old protocol is usedPavel Březina1-3/+15
2012-11-14sudo: do not send domain name with usernamePavel Březina1-2/+2
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
2012-11-14sudo: support users from subdomainsPavel Březina1-8/+33
https://fedorahosted.org/sssd/ticket/1616
2012-10-30sudo: do not hardcode protocol versionPavel Březina1-1/+2
2012-06-29sudo responder: new request enum typePavel Březina1-5/+5
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.
2012-06-29sudo responder: change protocol version to 1Pavel Březina1-0/+9
2012-06-29sudo api: send uid, username and domainnamePavel Březina1-87/+46
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.
2012-06-29sudo responder: get rid of dctx where possiblePavel Březina1-30/+31
2012-06-29sudo responder: remove code duplication in commandsPavel Březina1-124/+86
2012-06-12Make re_expression and full_name_format per domain optionsStef Walter1-2/+2
* Allows different user/domain qualified names for different domains. For example Domain\User or user@domain. * The global re_expression and full_name_format options remain as defaults for the domains. * Subdomains get the re_expression and full_name_format of their parent domain. https://bugzilla.redhat.com/show_bug.cgi?id=811663
2012-04-24Modified responder_get_domain()Jan Zeleny1-1/+1
Now it checks for subdomains as well as for the domain itself
2012-03-09Potential NULL-dereference in sudosrv_cmd_get_sudorulesPavel Březina1-14/+12
https://fedorahosted.org/sssd/ticket/1236
2012-02-23Honor case_sensitive option in sudo responderPavel Březina1-0/+4
https://fedorahosted.org/sssd/ticket/1205
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-04SUDO Integration - responder 'sudo_timed' optionPavel Březina1-1/+20
https://fedorahosted.org/sssd/ticket/1116
2012-02-04SUDO Integration - in-memory cache in responderPavel Březina1-4/+42
New sudo responder option: cache_timeout https://fedorahosted.org/sssd/ticket/1111
2012-01-27SUDO Integration - responder command for cn=defaultsPavel Březina1-0/+47
https://fedorahosted.org/sssd/ticket/1143
2011-12-16SUDO Integration - responderPavel Březina1-0/+227