Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-06 | AD: Add AD identity provider | Stephen Gallagher | 7 | -0/+1274 | |
This new identity provider takes advantage of existing code for the LDAP provider, but provides sensible defaults for operating against an Active Directory 2008 R2 or later server. | |||||
2012-07-06 | LDAP: Rename user and group maps for AD | Stephen Gallagher | 2 | -4/+4 | |
This will eliminate ambiguity for the AD provider | |||||
2012-07-06 | KRB5: Create a common init routine for krb5_child options | Stephen Gallagher | 4 | -98/+135 | |
This will reduce code duplication between the krb5, ipa and ad providers | |||||
2012-07-06 | KRB5: Drop memctx parameter of krb5_try_kdcip | Stephen Gallagher | 4 | -15/+17 | |
This function is not supposed to return any newly-allocated memory directly. It was actually leaking the memory for krb5_servers if krb5_kdcip was being used, though it was undetectable because it was allocated on the provided memctx. This patch removes the memctx parameter and allocates krb5_servers temporarily on NULL and ensures that it is freed on all exit conditions. It is not necessary to retain this memory, as dp_opt_set_string() performs a talloc_strdup onto the appropriate context internally. It also updates the DEBUG messages for this function to the appropriate new macro levels. | |||||
2012-07-06 | KRB5_LOCATOR: Print the filename that couldn't be opened | Stephen Gallagher | 1 | -1/+2 | |
2012-07-06 | KRB5: Some logging enhancements for krb5_child | Stephen Gallagher | 1 | -6/+13 | |
2012-07-06 | MAN: Unify "SEE ALSO" sections | Stephen Gallagher | 22 | -331/+111 | |
2012-07-06 | Set file descriptor limits in pac responder | Sumit Bose | 1 | -0/+15 | |
2012-07-06 | Fix SSSDConfigTest for separate build directories | Sumit Bose | 1 | -8/+9 | |
2012-07-06 | Fix crash when interface doesn't have an address | Stef Walter | 1 | -0/+3 | |
* This is similar to the code in ipa_dyndns_update_send() | |||||
2012-07-02 | LDAP: Print extended failure message for SASL bind | Stephen Gallagher | 1 | -2/+14 | |
2012-07-02 | IPA: Don't hang onto memory longer than necessary | Stephen Gallagher | 1 | -0/+1 | |
This request and attached memory would be freed at the end of access-check processing, but it's a waste to keep it around. | |||||
2012-06-30 | Fix segfault when sudo is not configured. | Simo Sorce | 1 | -1/+2 | |
Sudo support is optional, when it is not configured sudorules_map is not initialized and dereferencing it will cause a segmentation fault. | |||||
2012-06-29 | KRB5: Initialize the credential cache type properly | Stephen Gallagher | 1 | -0/+11 | |
We weren't guaranteeing that the cctype-specific callbacks were initialized before using them. This bug only presented itself for users who were logging in without a ccacheFile attribute in the LDB (for example, first-time logins). | |||||
2012-06-29 | DEBUG: Log to syslog if we are unable to open a debug fd | Stephen Gallagher | 1 | -0/+5 | |
2012-06-29 | TESTS: Print messages when LDAP options do not match | Stephen Gallagher | 1 | -2/+10 | |
2012-06-29 | sudo: manpage updated | Pavel Březina | 2 | -34/+131 | |
Removes old options and adds new ones. | |||||
2012-06-29 | sudo ldap provider: support autoconfiguration of IP addresses | Pavel Březina | 1 | -1/+179 | |
sudoHost attribute may contain IPv4 or IPv6 host/network address. This patch adds support for autoconfiguration of these information. | |||||
2012-06-29 | sudo ldap provider: do per-host updates | Pavel Březina | 1 | -3/+160 | |
Add host information to LDAP filters. | |||||
2012-06-29 | sudo ldap provider: mark sdap_sudo_setup_periodical_refresh() as static | Pavel Březina | 1 | -2/+2 | |
2012-06-29 | sudo ldap provider: load host filter configuration on init | Pavel Březina | 5 | -5/+185 | |
We need to load host information during provider initialization. Currently it loads only values from configuration files, but it is implemented as an asynchrounous request as it will later try to autodetect these settings (which will need to contact DNS). | |||||
2012-06-29 | sudo: add host info options | Pavel Březina | 5 | -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 | |||||
2012-06-29 | sudo ldap provider: pass sudo_ctx instead of id_ctx | Pavel Březina | 3 | -45/+73 | |
I had to create a new context structure to store additional information such as ip addresses and hostnames. | |||||
2012-06-29 | sdap_sudo.c: move _recv after _done | Pavel Březina | 1 | -45/+45 | |
2012-06-29 | sudo ldap provider: modify highest USN in sdap_sudo_rules_refresh_done() | Pavel Březina | 1 | -3/+14 | |
2012-06-29 | sudo: clean up | Pavel Březina | 6 | -223/+2 | |
2012-06-29 | sudo responder: schedule OOB full refresh when expired rule is deleted | Pavel Březina | 2 | -4/+40 | |
2012-06-29 | sudo ldap provider: notify responder when an expired rule has been deleted | Pavel Březina | 1 | -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 | |||||
2012-06-29 | sudo ldap provider: return number of downloaded rules in ↵ | Pavel Březina | 3 | -6/+16 | |
sdap_sudo_refresh_recv() | |||||
2012-06-29 | sudo responder: refresh expired rules | Pavel Březina | 1 | -31/+106 | |
2012-06-29 | sudo responder: update dp interface | Pavel Březina | 3 | -34/+72 | |
2012-06-29 | sudo responder: allow fetching only expired rules in ↵ | Pavel Březina | 1 | -25/+22 | |
sudosrv_get_sudorules_query_cache() | |||||
2012-06-29 | sudo sysdb: add expiration time to the filter | Pavel Březina | 3 | -1/+10 | |
2012-06-29 | sudo responder: new request enum type | Pavel Březina | 3 | -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-29 | sudo ldap provider: support periodical smart refresh | Pavel Březina | 1 | -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-29 | sudo ldap provider: add periodical smart refresh API | Pavel Březina | 1 | -0/+63 | |
2012-06-29 | sudo provider: add ldap_sudo_smart_refresh_interval | Pavel Březina | 5 | -0/+5 | |
2012-06-29 | sudo ldap provider: when sysdb filter is NULL remove downloaded rules | Pavel Březina | 1 | -5/+61 | |
2012-06-29 | sudo ldap provider: add smart refresh API | Pavel Březina | 1 | -0/+128 | |
2012-06-29 | sudo ldap provider: remember highest usn after full refresh | Pavel Březina | 1 | -1/+9 | |
2012-06-29 | sudo ldap provider: add sdap_sudo_set_usn() | Pavel Březina | 1 | -0/+22 | |
2012-06-29 | sudo ldap provider: find highest USN | Pavel Březina | 5 | -22/+113 | |
2012-06-29 | ldap provider: add sudo usn value | Pavel Březina | 5 | -0/+11 | |
2012-06-29 | sudo ldap provider: support periodical full refresh | Pavel Březina | 1 | -0/+129 | |
2012-06-29 | sysdb: remove sudo_set/get_refreshed | Pavel Březina | 2 | -63/+0 | |
2012-06-29 | sudo ldap provider: add new timer API | Pavel Březina | 2 | -0/+194 | |
2012-06-29 | sudo provider: remove old timer | Pavel Březina | 8 | -355/+0 | |
2012-06-29 | sudo provider: add ldap_sudo_full_refresh_interval | Pavel Březina | 5 | -0/+5 | |
2012-06-29 | sudo backend - add support for on demand refresh of specific rules | Pavel Březina | 1 | -7/+61 | |
2012-06-29 | sudo backend - support only on demand full refresh | Pavel Březina | 1 | -28/+4 | |