summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* sudo: add host info optionsPavel Březina2012-06-295-0/+25
| | | | | | | | | | Adds some option that allows to manually configure a host filter. ldap_sudo_use_host_filter - if false, we will download all rules regardless their sudoHost attribute ldap_sudo_hostnames - list hostnames and/or fqdn that should be downloaded, separated with spaces ldap_sudo_ip - list of IPv4/6 address and/or network that should be downloaded, separated with spaces ldap_sudo_include_netgroups - include rules that contains netgroup in sudoHost ldap_sudo_include_regexp - include rules that contains regular expression in sudoHost
* sudo ldap provider: pass sudo_ctx instead of id_ctxPavel Březina2012-06-293-45/+73
| | | | | I had to create a new context structure to store additional information such as ip addresses and hostnames.
* sdap_sudo.c: move _recv after _donePavel Březina2012-06-291-45/+45
|
* sudo ldap provider: modify highest USN in sdap_sudo_rules_refresh_done()Pavel Březina2012-06-291-3/+14
|
* sudo: clean upPavel Březina2012-06-296-223/+2
|
* sudo responder: schedule OOB full refresh when expired rule is deletedPavel Březina2012-06-292-4/+40
|
* sudo ldap provider: notify responder when an expired rule has been deletedPavel Březina2012-06-291-11/+76
| | | | | | | | | | | | | | | | When an expired rule is not present on the server server during specific rule refresh, the provider will notify the sudo responder that it has been deleted. Because there is a high probability that some other rules were deleted from the server as well, we want to remove them from sysdb as soon as possible. Once the responder is notified, it will schedule an out of band full refresh. This is issued by responder, because we already have a mechanism that prohibits creation of similar request (i.e. once the OOB full refresh is scheduled, there won't be another). The notification is done by returning: DP error = DP_ERR_OK, error = ENOENT
* sudo ldap provider: return number of downloaded rules in ↵Pavel Březina2012-06-293-6/+16
| | | | sdap_sudo_refresh_recv()
* sudo responder: refresh expired rulesPavel Březina2012-06-291-31/+106
|
* sudo responder: update dp interfacePavel Březina2012-06-293-34/+72
|
* sudo responder: allow fetching only expired rules in ↵Pavel Březina2012-06-291-25/+22
| | | | sudosrv_get_sudorules_query_cache()
* sudo sysdb: add expiration time to the filterPavel Březina2012-06-293-1/+10
|
* sudo responder: new request enum typePavel Březina2012-06-293-13/+19
| | | | | | | | | 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 ldap provider: support periodical smart refreshPavel Březina2012-06-291-73/+177
| | | | | | | | | | | | When SSSD is started, then full refresh is scheduled. The smart refresh is scheduled after this full refresh, if USN (or modifyTimestamp) values are available. If full refresh interval <= smart refresh interval then full refresh will be disabled. If both refresh types are 0 then smart refresh interval is set to default value.
* sudo ldap provider: add periodical smart refresh APIPavel Březina2012-06-291-0/+63
|
* sudo provider: add ldap_sudo_smart_refresh_intervalPavel Březina2012-06-295-0/+5
|
* sudo ldap provider: when sysdb filter is NULL remove downloaded rulesPavel Březina2012-06-291-5/+61
|
* sudo ldap provider: add smart refresh APIPavel Březina2012-06-291-0/+128
|
* sudo ldap provider: remember highest usn after full refreshPavel Březina2012-06-291-1/+9
|
* sudo ldap provider: add sdap_sudo_set_usn()Pavel Březina2012-06-291-0/+22
|
* sudo ldap provider: find highest USNPavel Březina2012-06-295-22/+113
|
* ldap provider: add sudo usn valuePavel Březina2012-06-295-0/+11
|
* sudo ldap provider: support periodical full refreshPavel Březina2012-06-291-0/+129
|
* sysdb: remove sudo_set/get_refreshedPavel Březina2012-06-292-63/+0
|
* sudo ldap provider: add new timer APIPavel Březina2012-06-293-0/+195
|
* sudo provider: remove old timerPavel Březina2012-06-299-357/+0
|
* sudo provider: add ldap_sudo_full_refresh_intervalPavel Březina2012-06-295-0/+5
|
* sudo backend - add support for on demand refresh of specific rulesPavel Březina2012-06-291-7/+61
|
* sudo backend - support only on demand full refreshPavel Březina2012-06-291-28/+4
|
* sudo ldap provider: add support for on demand refresh of specific rulesPavel Březina2012-06-293-0/+11
|
* sudo ldap provider: provide API for refresh of specific rulesPavel Březina2012-06-291-0/+93
|
* sudo ldap provider: add support for on demand full refreshPavel Březina2012-06-292-16/+26
|
* sudo ldap provider: provide API for full refreshPavel Březina2012-06-292-1/+126
|
* sysdb: add getter/setter for last sudo full refresh timePavel Březina2012-06-292-0/+147
|
* sudo ldap provider: add expiration time to each rulePavel Březina2012-06-293-8/+30
|
* sudo ldap provider: add domain info in sdap_sudo_refresh_statePavel Březina2012-06-291-0/+2
|
* sudo ldap provider: add sysdb ctx in sdap_sudo_refresh_statePavel Březina2012-06-291-7/+7
|
* confdb: add entry_cache_sudo_timeout optionPavel Březina2012-06-295-0/+17
|
* sudo ldap provider: give sdap_sudo_refresh_send() search and purge filtersPavel Březina2012-06-294-278/+93
|
* sudo ldap provider: move async routines to sdap_async_sudo.cPavel Březina2012-06-293-675/+711
|
* sudo responder: discard in-memory cachePavel Březina2012-06-294-376/+0
|
* libsss_sudo: bump version to 2:0:1Pavel Březina2012-06-291-1/+1
|
* sudo responder: change protocol version to 1Pavel Březina2012-06-292-1/+10
|
* sudo api: send uid, username and domainnamePavel Březina2012-06-299-175/+260
| | | | | | | | | | | 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 sysdb: make sysdb_get_sudo_user_info more configurablePavel Březina2012-06-291-25/+35
|
* sudo responder: get rid of dctx where possiblePavel Březina2012-06-293-93/+102
|
* sudo responder: remove code duplication in commandsPavel Březina2012-06-294-277/+283
|
* sudo api: remove EOKPavel Březina2012-06-292-13/+10
|
* libcrypto fully implementedGeorge McCollister2012-06-266-17/+489
| | | | | | | | | | | | | | | | Implemented working versions of the following functions for libcrypto: sss_base64_encode sss_base64_decode sss_hmac_sha1 sss_password_encrypt sss_password_decrypt test_encrypt_decrypt now expects EOK from libcrypto. test_hmac_sha1 now expects EOK from libcrypto. Added test_base64_encode to test base64 encoding implementation. Added test_base64_decode to test base64 decoding implementation. Signed-off-by: George McCollister <George.McCollister@gmail.com>
* Bumping version to 1.9.0 beta 4Stephen Gallagher2012-06-251-1/+1
|