Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the correct hash table for pending requests | Simo Sorce | 2012-03-08 | 7 | -10/+14 |
| | | | | | | | | | | | | | The function that handled pending requests on reconnect was checking an orphaned global variable that was never used, redenring the whole function uselsess. This fixes a very nasty bug that was causing requests for which we never received an answer for (for example because the backend failed and was restarted) to be never removed and therefore causing a black hole effect for any other request of the same type. Fixes: https://fedorahosted.org/sssd/ticket/1229 | ||||
* | Remove sysdb_get_ctx_from_list() | Sumit Bose | 2012-02-29 | 8 | -58/+53 |
| | |||||
* | SSH: Replace blocking getaddrinfo call in the responder with asynchronous ↵ | Jan Cholasta | 2012-02-27 | 3 | -26/+56 |
| | | | | resolver code | ||||
* | SSH: Use fchmod instead of chmod on known_hosts file | Jan Cholasta | 2012-02-27 | 1 | -8/+4 |
| | |||||
* | SSH: Add more debugging messages | Jan Cholasta | 2012-02-27 | 1 | -0/+8 |
| | |||||
* | SSH: Don't abort known_hosts update when host search fails | Jan Cholasta | 2012-02-27 | 1 | -1/+1 |
| | |||||
* | AUTOFS: speed up the client by requesting multiple entries at once | Jakub Hrozek | 2012-02-27 | 2 | -34/+79 |
| | | | | https://fedorahosted.org/sssd/ticket/1166 | ||||
* | SSH: Manage global known_hosts file in the responder | Jan Cholasta | 2012-02-26 | 2 | -0/+134 |
| | | | | https://fedorahosted.org/sssd/ticket/1193 | ||||
* | SSH: Save SSH host name aliases | Jan Cholasta | 2012-02-26 | 2 | -1/+26 |
| | |||||
* | AUTOFS: Invoke implicit setautomntent if needed | Jakub Hrozek | 2012-02-23 | 2 | -45/+156 |
| | | | | https://fedorahosted.org/sssd/ticket/1167 | ||||
* | Move sudo_dom_ctx.user to local variable | Pavel Březina | 2012-02-23 | 2 | -8/+8 |
| | |||||
* | Honor case_sensitive option in sudo responder | Pavel Březina | 2012-02-23 | 4 | -21/+100 |
| | | | | https://fedorahosted.org/sssd/ticket/1205 | ||||
* | Don't give memory context in confdb where not needed | Jan Zeleny | 2012-02-21 | 6 | -18/+18 |
| | |||||
* | RESPONDERS: Make the fd_limit setting configurable | Stephen Gallagher | 2012-02-17 | 3 | -3/+42 |
| | | | | | | | | | | This code will now attempt first to see if it has privilege to set the value as specified, and if not it will fall back to the previous behavior. So on systems with the CAP_SYS_RESOURCE capability granted to SSSD, it will be able to ignore the limits.conf hard limit. https://fedorahosted.org/sssd/ticket/1197 | ||||
* | RESPONDERS: Allow increasing the file-descriptor limit | Stephen Gallagher | 2012-02-17 | 4 | -0/+48 |
| | | | | | | | This patch will increase the file descriptor limit to 8k or the limits.conf maximum, whichever is lesser. https://fedorahosted.org/sssd/ticket/1197 | ||||
* | Fix case insensitive service lookups | Jakub Hrozek | 2012-02-17 | 1 | -6/+6 |
| | |||||
* | NSS: Always return the same protocol that was requested | Stephen Gallagher | 2012-02-17 | 2 | -9/+26 |
| | | | | https://fedorahosted.org/sssd/ticket/1160 | ||||
* | Check for failure in sss_packet_grow() | Stephen Gallagher | 2012-02-13 | 1 | -5/+5 |
| | | | | Coverity #12489 | ||||
* | Avoid uninitialized value comparison | Stephen Gallagher | 2012-02-13 | 1 | -0/+3 |
| | | | | Coverity #12526 | ||||
* | SSH: Verify that names received from client are valid UTF-8 in responder | Jan Cholasta | 2012-02-13 | 1 | -0/+4 |
| | | | | | | | Also added a comment describing the wire format of client requests and responses. https://fedorahosted.org/sssd/ticket/1177 | ||||
* | Allocate setent structure on state, not on the client context | Jakub Hrozek | 2012-02-13 | 4 | -9/+9 |
| | | | | https://fedorahosted.org/sssd/ticket/1189 | ||||
* | Remove setent structure when callback is called | Jakub Hrozek | 2012-02-13 | 5 | -22/+16 |
| | |||||
* | Only fetch SELinux string if the user is found | Jakub Hrozek | 2012-02-10 | 1 | -1/+2 |
| | |||||
* | SUDO responder: check if the input is a UTF-8 string | Pavel Březina | 2012-02-10 | 1 | -0/+7 |
| | | | | https://fedorahosted.org/sssd/ticket/1171 | ||||
* | Fix group enumeration | Jakub Hrozek | 2012-02-10 | 2 | -2/+9 |
| | | | | | | Also adds some more debugging and fixes a code style issue. https://fedorahosted.org/sssd/ticket/1182 | ||||
* | Fix SSH compilation on RHEL5 | Jakub Hrozek | 2012-02-07 | 1 | -0/+3 |
| | |||||
* | SSH: Responder | Jan Cholasta | 2012-02-07 | 3 | -0/+872 |
| | |||||
* | DP: Add support for hosts in sss_dp_get_account | Jan Cholasta | 2012-02-07 | 2 | -2/+13 |
| | | | | Host requests are directed to the host info handler. | ||||
* | SUDO Integration - fix offline behaviour | Pavel Březina | 2012-02-06 | 1 | -2/+2 |
| | |||||
* | SELinux support in PAM responder | Jan Zeleny | 2012-02-06 | 1 | -0/+163 |
| | |||||
* | AUTOFS: responder | Jakub Hrozek | 2012-02-05 | 6 | -3/+1720 |
| | |||||
* | Split the logic to check cache expiration into separate function | Jakub Hrozek | 2012-02-05 | 3 | -43/+73 |
| | |||||
* | RESPONDERS: Refactor setent_req_list | Jakub Hrozek | 2012-02-05 | 6 | -100/+133 |
| | | | | | Makes the setent_add_ref() and setent_notify_*() functions more generic to be reusable by the autofs responder. | ||||
* | SUDO Integration - responder 'sudo_timed' option | Pavel Březina | 2012-02-04 | 3 | -1/+32 |
| | | | | https://fedorahosted.org/sssd/ticket/1116 | ||||
* | SUDO Integration - in-memory cache in responder | Pavel Březina | 2012-02-04 | 5 | -9/+415 |
| | | | | | | New sudo responder option: cache_timeout https://fedorahosted.org/sssd/ticket/1111 | ||||
* | NSS: Add individual timeouts for entry types | Stephen Gallagher | 2012-02-04 | 1 | -1/+1 |
| | | | | https://fedorahosted.org/sssd/ticket/1016 | ||||
* | NSS: Use sss_hash_create instead of destructor | Jakub Hrozek | 2012-02-04 | 2 | -13/+2 |
| | |||||
* | RESPONDERS: Provide a common sss_cmd_send_error function | Jakub Hrozek | 2012-02-02 | 3 | -13/+19 |
| | | | | The common function could be reused in new responders | ||||
* | Refactor nss_cmd_send_empty | Jakub Hrozek | 2012-01-31 | 6 | -41/+46 |
| | |||||
* | Fix sudo compilation on RHEL5 | Jakub Hrozek | 2012-01-30 | 1 | -0/+2 |
| | |||||
* | SUDO Integration - responder command for cn=defaults | Pavel Březina | 2012-01-27 | 4 | -18/+93 |
| | | | | https://fedorahosted.org/sssd/ticket/1143 | ||||
* | SUDO Integration - prepare data provider for new responder commands | Pavel Březina | 2012-01-27 | 1 | -1/+1 |
| | | | | https://fedorahosted.org/sssd/ticket/1143 | ||||
* | SUDO Integration - make sysdb_get_sudo_filter() more configurable | Pavel Březina | 2012-01-27 | 1 | -2/+5 |
| | | | | https://fedorahosted.org/sssd/ticket/1143 | ||||
* | Rename sss_dp_type to sss_dp_sudo_type | Stephen Gallagher | 2012-01-27 | 2 | -4/+4 |
| | | | | | I pushed an older version of this patch that had the incorrect name. This is the interdiff. | ||||
* | Use the new SUDO request in DP and sudo responder | Jakub Hrozek | 2012-01-27 | 3 | -216/+67 |
| | | | | | | Also remove the old request implementation https://fedorahosted.org/sssd/ticket/1115 | ||||
* | SUDO: Provide a sudo DP request based on the internal_req | Jakub Hrozek | 2012-01-27 | 2 | -0/+144 |
| | |||||
* | NSS: Add service enumeration support to NSS provider | Stephen Gallagher | 2012-01-27 | 3 | -1/+662 |
| | |||||
* | DP: Refactor responder_dp_req so it's reusable by other responders | Jakub Hrozek | 2012-01-27 | 3 | -240/+349 |
| | | | | | | | | | | | | | | | | | | | | | | | | * the internal request is now more generic and is decoupled from account-specific data. There is a new sss_dp_issue_request() wrapper that issues a BE request or registers a callback * the public requests all use struct sss_dp_req_state as the tevent_req state data. This allows to report back data from the internal request even if the caller is just a callback notifier * each specific request now uses an _info structure that contains all the data necessary to construct a DBusMessage passed to provider * each specific request now defines a sss_dp_get_$data_msg callback that is called from the sss_dp_issue_request() common wraper. The purpose of the wrapper is to construct a DBusMessage and bind it to a DBus method so the message can be just sent over to back end The miscellanous changes include: * change SSS_DP_ constants to an enum. This way, a switch() would error if a value is not handled. * rename sss_dp_get_account_int_send() to sss_dp_internal_get_send() request because the internal request is going to handle more than just account data * the DBus return values were renamed from err_maj, err_min to dp_err and dp_ret respectively | ||||
* | NSS: Add getservbyname and getservbyport support to the NSS Responder | Stephen Gallagher | 2012-01-27 | 3 | -0/+1209 |
| | |||||
* | NSS: Add negative cache routines for services | Stephen Gallagher | 2012-01-27 | 2 | -3/+132 |
| |