summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-06-29sudo responder: refresh expired rulesPavel Březina1-31/+106
2012-06-29sudo responder: update dp interfacePavel Březina3-34/+72
2012-06-29sudo responder: allow fetching only expired rules in ↵Pavel Březina1-25/+22
sudosrv_get_sudorules_query_cache()
2012-06-29sudo sysdb: add expiration time to the filterPavel Březina3-1/+10
2012-06-29sudo responder: new request enum typePavel Březina3-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.
2012-06-29sudo ldap provider: support periodical smart refreshPavel Březina1-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.
2012-06-29sudo ldap provider: add periodical smart refresh APIPavel Březina1-0/+63
2012-06-29sudo provider: add ldap_sudo_smart_refresh_intervalPavel Březina5-0/+5
2012-06-29sudo ldap provider: when sysdb filter is NULL remove downloaded rulesPavel Březina1-5/+61
2012-06-29sudo ldap provider: add smart refresh APIPavel Březina1-0/+128
2012-06-29sudo ldap provider: remember highest usn after full refreshPavel Březina1-1/+9
2012-06-29sudo ldap provider: add sdap_sudo_set_usn()Pavel Březina1-0/+22
2012-06-29sudo ldap provider: find highest USNPavel Březina5-22/+113
2012-06-29ldap provider: add sudo usn valuePavel Březina5-0/+11
2012-06-29sudo ldap provider: support periodical full refreshPavel Březina1-0/+129
2012-06-29sysdb: remove sudo_set/get_refreshedPavel Březina2-63/+0
2012-06-29sudo ldap provider: add new timer APIPavel Březina2-0/+194
2012-06-29sudo provider: remove old timerPavel Březina8-355/+0
2012-06-29sudo provider: add ldap_sudo_full_refresh_intervalPavel Březina5-0/+5
2012-06-29sudo backend - add support for on demand refresh of specific rulesPavel Březina1-7/+61
2012-06-29sudo backend - support only on demand full refreshPavel Březina1-28/+4
2012-06-29sudo ldap provider: add support for on demand refresh of specific rulesPavel Březina3-0/+11
2012-06-29sudo ldap provider: provide API for refresh of specific rulesPavel Březina1-0/+93
2012-06-29sudo ldap provider: add support for on demand full refreshPavel Březina2-16/+26
2012-06-29sudo ldap provider: provide API for full refreshPavel Březina2-1/+126
2012-06-29sysdb: add getter/setter for last sudo full refresh timePavel Březina2-0/+147
2012-06-29sudo ldap provider: add expiration time to each rulePavel Březina3-8/+30
2012-06-29sudo ldap provider: add domain info in sdap_sudo_refresh_statePavel Březina1-0/+2
2012-06-29sudo ldap provider: add sysdb ctx in sdap_sudo_refresh_statePavel Březina1-7/+7
2012-06-29confdb: add entry_cache_sudo_timeout optionPavel Březina5-0/+17
2012-06-29sudo ldap provider: give sdap_sudo_refresh_send() search and purge filtersPavel Březina4-278/+93
2012-06-29sudo ldap provider: move async routines to sdap_async_sudo.cPavel Březina2-675/+710
2012-06-29sudo responder: discard in-memory cachePavel Březina3-375/+0
2012-06-29sudo responder: change protocol version to 1Pavel Březina2-1/+10
2012-06-29sudo api: send uid, username and domainnamePavel Březina9-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.
2012-06-29sudo sysdb: make sysdb_get_sudo_user_info more configurablePavel Březina1-25/+35
2012-06-29sudo responder: get rid of dctx where possiblePavel Březina3-93/+102
2012-06-29sudo responder: remove code duplication in commandsPavel Březina4-277/+283
2012-06-29sudo api: remove EOKPavel Březina2-13/+10
2012-06-26libcrypto fully implementedGeorge McCollister5-15/+482
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>
2012-06-25Update translations for 1.9.0 beta 3 releaseStephen Gallagher10-7226/+9148
2012-06-25Set default for subdomain_homedirSumit Bose3-1/+6
2012-06-25BUILD: Change default unicode library to glib2Stephen Gallagher1-2/+2
This patch also removes the references to 'cvs' and 'nscd' from BUILD.txt, as they are no longer necessary.
2012-06-25Add man page section for the PAC responderSumit Bose2-1/+40
2012-06-25SELinux user maps: pick just one mapJan Zeleny1-12/+11
This patch modifies behavior of SSSD when putting together content of the file for pam_selinux. SSSD will now pick only the first user map in the priority list which matches to the user logging in. Other maps are ignored. https://fedorahosted.org/sssd/ticket/1360
2012-06-21Fix re_expression matching with subdomainsJan Zeleny4-85/+173
This patch fixes an issue which resulted in a need to initialize responder with data from local domain, otherwise it would not correctly detect requests for subdomains. Similar situation can occur if new subdomain is added at runtime. The solution is to ask for a list of subdomains in case there is a candidate domain identified in the process of matching re_expressions with given name.
2012-06-21UTILS: Fix segfault due to sss_parse_name_for_domainsStephen Gallagher1-7/+10
The recent fixes for per-domain parsing can cause a segfault in the netgroup processing if the domain isn't set to NULL when it's parsed as "any domain". https://fedorahosted.org/sssd/ticket/1383
2012-06-21Try to build PAC responder only if all dependencies are availableSumit Bose1-5/+8
2012-06-21Add range support to PAC responderSumit Bose3-45/+140
2012-06-21Add support for ID rangesSumit Bose10-10/+583