Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Send 16bit protocol numbers from the sss_client | Jakub Hrozek | 2012-05-25 | 1 | -1/+1 |
| | | | | https://fedorahosted.org/sssd/ticket/1348 | ||||
* | NSS: Fix segfault when mmap cache cannot be initialized | Stephen Gallagher | 2012-05-24 | 1 | -2/+2 |
| | |||||
* | NSS: Expire in-memory netgroup cache before the nowait timeout | Stephen Gallagher | 2012-05-16 | 1 | -1/+9 |
| | | | | | | | | The fact that we were keeping it in memory for the full duration of the cache timeout meant that we would never reap the benefits of the midpoint cache refresh. https://fedorahosted.org/sssd/ticket/1340 | ||||
* | Use sized_string correctly in FQDN domains | Jakub Hrozek | 2012-05-15 | 1 | -2/+2 |
| | |||||
* | NSS: keep a pointer to body after body is reallocated | Jakub Hrozek | 2012-05-15 | 1 | -0/+3 |
| | |||||
* | Send the correct enumeration request | Jakub Hrozek | 2012-05-10 | 1 | -1/+1 |
| | | | | https://fedorahosted.org/sssd/ticket/1329 | ||||
* | NSS: Add default_shell option | Stephen Gallagher | 2012-05-09 | 3 | -1/+15 |
| | | | | | | | This option will allow administrators to set a default shell to be used if a user does not have one set in the identity provider. https://fedorahosted.org/sssd/ticket/1289 | ||||
* | NSS: Add fallback_homedir option | Stephen Gallagher | 2012-05-09 | 3 | -2/+27 |
| | | | | | | | | This option is similar to override_homedir, except that it will take effect only for users that do not have an explicit home directory specified in LDAP. https://fedorahosted.org/sssd/ticket/1250 | ||||
* | NSS: fix returning group from cache | Jakub Hrozek | 2012-05-02 | 1 | -1/+1 |
| | |||||
* | NSS: Check return code of sss_mmap_cache_gr_store | Jakub Hrozek | 2012-05-02 | 1 | -0/+5 |
| | |||||
* | NSS: Only return data from initgroups once | Jakub Hrozek | 2012-04-24 | 1 | -3/+10 |
| | | | | | | | | | Do not let nss_cmd_initgroups_search() return data itself, but let the caller return data. This is more intuitive and more consistent with the rest of the nss_cmd_*_search() functions. Also fixes a typo - nss_cmd_initgroups_cb used to call getpw_send_reply instead of initgr_send_reply. | ||||
* | Lowercase group members in case-insensitive domains | Jakub Hrozek | 2012-04-24 | 1 | -1/+7 |
| | | | | https://fedorahosted.org/sssd/ticket/1312 | ||||
* | Moved expand_homedir_template() from NSS responder to utility code | Jan Zeleny | 2012-04-24 | 1 | -108/+1 |
| | |||||
* | Check sub-domains in nss_cmd_get{pwuid|grgid}_search() | Sumit Bose | 2012-04-24 | 1 | -4/+26 |
| | |||||
* | Ask for subdomains in responder in the first request after startup | Jan Zeleny | 2012-04-24 | 1 | -0/+30 |
| | |||||
* | Retrieve subdomains if there is a request for fully qualified user | Jan Zeleny | 2012-04-24 | 3 | -31/+192 |
| | |||||
* | Modified responder_get_domain() | Jan Zeleny | 2012-04-24 | 4 | -6/+6 |
| | | | | Now it checks for subdomains as well as for the domain itself | ||||
* | Convert read and write operations to sss_atomic_read | Jakub Hrozek | 2012-04-20 | 1 | -10/+10 |
| | | | | https://fedorahosted.org/sssd/ticket/1209 | ||||
* | Prevent printing NULL from DEBUG messages | Jakub Hrozek | 2012-04-18 | 2 | -4/+8 |
| | |||||
* | NSS: Look for services with correct case when cache is updated | Jakub Hrozek | 2012-03-21 | 1 | -7/+7 |
| | | | | https://fedorahosted.org/sssd/ticket/1259 | ||||
* | Save alias of the primary name, too | Jakub Hrozek | 2012-03-21 | 1 | -8/+14 |
| | |||||
* | NSS: Fix debug message | Stephen Gallagher | 2012-03-20 | 1 | -0/+2 |
| | |||||
* | nsssrv: add handling of memory cache group map | Simo Sorce | 2012-03-19 | 5 | -4/+98 |
| | |||||
* | nsssrv: add handling of memory cache passwd map | Simo Sorce | 2012-03-19 | 3 | -3/+101 |
| | |||||
* | nsssrv: Add memory cache record handling utils | Simo Sorce | 2012-03-19 | 1 | -0/+279 |
| | |||||
* | nsssrv: shared memory cache server initialization | Simo Sorce | 2012-03-19 | 4 | -0/+350 |
| | |||||
* | Handle errors from lookup_netgr_step gracefully | Jakub Hrozek | 2012-03-08 | 1 | -3/+10 |
| | |||||
* | Save original name into the in-memory cache | Jakub Hrozek | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | Use the correct hash table for pending requests | Simo Sorce | 2012-03-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | 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 | 3 | -25/+26 |
| | |||||
* | Don't give memory context in confdb where not needed | Jan Zeleny | 2012-02-21 | 1 | -6/+6 |
| | |||||
* | RESPONDERS: Make the fd_limit setting configurable | Stephen Gallagher | 2012-02-17 | 1 | -1/+12 |
| | | | | | | | | | | 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 | 1 | -0/+4 |
| | | | | | | | 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 | ||||
* | Allocate setent structure on state, not on the client context | Jakub Hrozek | 2012-02-13 | 3 | -7/+7 |
| | | | | https://fedorahosted.org/sssd/ticket/1189 | ||||
* | Remove setent structure when callback is called | Jakub Hrozek | 2012-02-13 | 2 | -10/+4 |
| | |||||
* | Fix group enumeration | Jakub Hrozek | 2012-02-10 | 1 | -0/+2 |
| | | | | | | Also adds some more debugging and fixes a code style issue. https://fedorahosted.org/sssd/ticket/1182 | ||||
* | AUTOFS: responder | Jakub Hrozek | 2012-02-05 | 1 | -3/+0 |
| | |||||
* | Split the logic to check cache expiration into separate function | Jakub Hrozek | 2012-02-05 | 1 | -43/+17 |
| | |||||
* | RESPONDERS: Refactor setent_req_list | Jakub Hrozek | 2012-02-05 | 4 | -95/+43 |
| | | | | | Makes the setent_add_ref() and setent_notify_*() functions more generic to be reusable by the autofs responder. | ||||
* | 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 | 1 | -13/+1 |
| | | | | The common function could be reused in new responders | ||||
* | Refactor nss_cmd_send_empty | Jakub Hrozek | 2012-01-31 | 4 | -41/+7 |
| | |||||
* | NSS: Add service enumeration support to NSS provider | Stephen Gallagher | 2012-01-27 | 2 | -1/+659 |
| | |||||
* | DP: Refactor responder_dp_req so it's reusable by other responders | Jakub Hrozek | 2012-01-27 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 |
| |