summaryrefslogtreecommitdiff
path: root/src/db/sysdb_sudo.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-22sudo responder: change num_rules type from size_t to uint32_tPavel Březina1-3/+3
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.
2013-01-15Add domain arguments to sysdb sudo functionsSimo Sorce1-18/+27
2013-01-15Add domain to sysdb_delete_customSimo Sorce1-1/+1
2013-01-15Add domain argument to sysdb_search_custom()Simo Sorce1-1/+1
Also changes sysdb_search_custom_by_name()
2013-01-15Add domain argument to sysdb_store_custom()Simo Sorce1-1/+1
2013-01-15Add domain to sysdb_search_group_by_gid()Simo Sorce1-1/+1
Also remove unused sysdb_search_domgroup_by_gid()
2013-01-15Add domain to sysdb_search_user_by_name()Simo Sorce1-2/+2
Also remove unused sysdb_search_domuser_by_name()
2013-01-15Make sysdb_custom_subtree_dn() require a domain.Simo Sorce1-3/+5
2012-12-19Fix a 'shadows a global declaration' warningSumit Bose1-2/+2
2012-12-13sudo: support generalized time formatPavel Březina1-11/+34
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.
2012-12-13sudo: include primary group in user group listPavel Březina1-1/+41
https://fedorahosted.org/sssd/ticket/1677
2012-12-13sysdb_get_sudo_user_info() initialize attrs on declarationPavel Březina1-4/+3
2012-09-24SYSDB: Remove unnecessary domain parameter from several sysdb callsJakub Hrozek1-2/+1
The domain can be read from the sysdb object. Removing the domain string makes the API more self-contained.
2012-09-04Unify usage of sysdb transactions (part 2).Michal Zidek1-2/+5
2012-08-07Remove SYSDB_SUDO_CACHE_OC from attribute listsPavel Březina1-1/+0
It is not an attribute.
2012-08-07Rename SYSDB_SUDO_CACHE_AT_OC to SYSDB_SUDO_CACHE_OCPavel Březina1-3/+3
It does not contain name of the object class attribute but the value itself. I renamed it to avoid confusion.
2012-07-18Fix uninitialized valuesNick Guay1-1/+1
https://fedorahosted.org/sssd/ticket/1379
2012-06-29sudo: clean upPavel Březina1-206/+0
2012-06-29sudo sysdb: add expiration time to the filterPavel Březina1-0/+8
2012-06-29sysdb: remove sudo_set/get_refreshedPavel Březina1-57/+0
2012-06-29sysdb: add getter/setter for last sudo full refresh timePavel Březina1-0/+143
2012-06-29sudo sysdb: make sysdb_get_sudo_user_info more configurablePavel Březina1-25/+35
2012-05-10sysdb: return proper error code from sysdb_sudo_purge_allJakub Hrozek1-1/+1
2012-05-02SUDO: Return ret, not EOKJakub Hrozek1-1/+1
This patch fixes bad refactoring - the function used to return value directly on error and EOK as the last statement. If was then converted into using goto label, but the last statement was still returning EOK instead of the value it should.
2012-02-17Redesign purging of the sudo cachePavel Březina1-71/+301
https://fedorahosted.org/sssd/ticket/1173
2012-02-10Improve debug messages in sysdb_sudo_check_time()Pavel Březina1-4/+16
2012-02-06SUDO Integration - sysdb_sudo_check_time() fixPavel Březina1-6/+8
2012-02-04Fixes for sudo_timedJakub Hrozek1-23/+40
https://fedorahosted.org/sssd/ticket/1116
2012-02-04SUDO Integration - responder 'sudo_timed' optionPavel Březina1-36/+123
https://fedorahosted.org/sssd/ticket/1116
2012-01-27SUDO Integration - make sysdb_get_sudo_filter() more configurablePavel Březina1-42/+57
https://fedorahosted.org/sssd/ticket/1143
2012-01-17SUDO Integration - functions for manipulating with 'refreshed' attributePavel Březina1-0/+58
https://fedorahosted.org/sssd/ticket/1110
2012-01-17SUDO Integration review issuesPavel Březina1-20/+13
2011-12-16SUDO Integration - sysdb interfaceJakub Hrozek1-0/+333