summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_sudo.h
Commit message (Collapse)AuthorAgeFilesLines
* sudo: fetch sudoRunAs attributePavel Březina2014-07-151-0/+1
| | | | | | | | | | | | | | | | | | This attribute was used in pre 1.7 versions of sudo and it is now deprecated by sudoRunAsUser and sudoRunAsGroup. However, some users still use this attribute so we need to support it to ensure backward compatibility. This patch makes sure that this attribute is downloaded if present and provided to sudo. Sudo than decides how to handle it. The new mapping option is not present in a man page since this attribute is deprecated in sudo for a very long time. Resolves: https://fedorahosted.org/sssd/ticket/2212 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
* SYSDB: Drop the sysdb_ctx parameter from the sysdb_sudo.c moduleJakub Hrozek2013-11-151-11/+6
|
* sudo responder: change num_rules type from size_t to uint32_tPavel Březina2013-01-221-2/+2
| | | | | | | | 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.
* Add domain arguments to sysdb sudo functionsSimo Sorce2013-01-151-8/+15
|
* Make sysdb_custom_subtree_dn() require a domain.Simo Sorce2013-01-151-2/+1
|
* sudo: support generalized time formatPavel Březina2012-12-131-2/+0
| | | | | | | https://fedorahosted.org/sssd/ticket/1712 The timestamp doesn't have to be in the form yyyymmddHHMMSSZ any more. It can be in any form of generalized time format.
* Rename SYSDB_SUDO_CACHE_AT_OC to SYSDB_SUDO_CACHE_OCPavel Březina2012-08-071-1/+1
| | | | | It does not contain name of the object class attribute but the value itself. I renamed it to avoid confusion.
* sudo: clean upPavel Březina2012-06-291-6/+0
|
* sudo sysdb: add expiration time to the filterPavel Březina2012-06-291-0/+1
|
* sysdb: remove sudo_set/get_refreshedPavel Březina2012-06-291-6/+0
|
* sysdb: add getter/setter for last sudo full refresh timePavel Březina2012-06-291-0/+4
|
* Redesign purging of the sudo cachePavel Březina2012-02-171-4/+14
| | | | https://fedorahosted.org/sssd/ticket/1173
* SUDO Integration - responder 'sudo_timed' optionPavel Březina2012-02-041-1/+9
| | | | https://fedorahosted.org/sssd/ticket/1116
* SUDO Integration - make sysdb_get_sudo_filter() more configurablePavel Březina2012-01-271-4/+11
| | | | https://fedorahosted.org/sssd/ticket/1143
* SUDO Integration - functions for manipulating with 'refreshed' attributePavel Březina2012-01-171-0/+10
| | | | https://fedorahosted.org/sssd/ticket/1110
* SUDO Integration - sysdb interfaceJakub Hrozek2011-12-161-0/+69