summaryrefslogtreecommitdiffstats
path: root/src/responder
Commit message (Collapse)AuthorAgeFilesLines
* Fix SSH compilation on RHEL5Jakub Hrozek2012-02-071-0/+3
|
* SSH: ResponderJan Cholasta2012-02-073-0/+872
|
* DP: Add support for hosts in sss_dp_get_accountJan Cholasta2012-02-072-2/+13
| | | | Host requests are directed to the host info handler.
* SUDO Integration - fix offline behaviourPavel Březina2012-02-061-2/+2
|
* SELinux support in PAM responderJan Zeleny2012-02-061-0/+163
|
* AUTOFS: responderJakub Hrozek2012-02-056-3/+1720
|
* Split the logic to check cache expiration into separate functionJakub Hrozek2012-02-053-43/+73
|
* RESPONDERS: Refactor setent_req_listJakub Hrozek2012-02-056-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' optionPavel Březina2012-02-043-1/+32
| | | | https://fedorahosted.org/sssd/ticket/1116
* SUDO Integration - in-memory cache in responderPavel Březina2012-02-045-9/+415
| | | | | | New sudo responder option: cache_timeout https://fedorahosted.org/sssd/ticket/1111
* NSS: Add individual timeouts for entry typesStephen Gallagher2012-02-041-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1016
* NSS: Use sss_hash_create instead of destructorJakub Hrozek2012-02-042-13/+2
|
* RESPONDERS: Provide a common sss_cmd_send_error functionJakub Hrozek2012-02-023-13/+19
| | | | The common function could be reused in new responders
* Refactor nss_cmd_send_emptyJakub Hrozek2012-01-316-41/+46
|
* Fix sudo compilation on RHEL5Jakub Hrozek2012-01-301-0/+2
|
* SUDO Integration - responder command for cn=defaultsPavel Březina2012-01-274-18/+93
| | | | https://fedorahosted.org/sssd/ticket/1143
* SUDO Integration - prepare data provider for new responder commandsPavel Březina2012-01-271-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1143
* SUDO Integration - make sysdb_get_sudo_filter() more configurablePavel Březina2012-01-271-2/+5
| | | | https://fedorahosted.org/sssd/ticket/1143
* Rename sss_dp_type to sss_dp_sudo_typeStephen Gallagher2012-01-272-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 responderJakub Hrozek2012-01-273-216/+67
| | | | | | Also remove the old request implementation https://fedorahosted.org/sssd/ticket/1115
* SUDO: Provide a sudo DP request based on the internal_reqJakub Hrozek2012-01-272-0/+144
|
* NSS: Add service enumeration support to NSS providerStephen Gallagher2012-01-273-1/+662
|
* DP: Refactor responder_dp_req so it's reusable by other respondersJakub Hrozek2012-01-273-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 ResponderStephen Gallagher2012-01-273-0/+1209
|
* NSS: Add negative cache routines for servicesStephen Gallagher2012-01-272-3/+132
|
* DP: Add support for services in dp requestsStephen Gallagher2012-01-272-0/+4
|
* PAM: Do not overwrite retJakub Hrozek2012-01-261-3/+1
|
* Move sized_string declaration to utilsStephen Gallagher2012-01-232-19/+0
|
* DP: Fix bugs in sss_dp_get_account_intStephen Gallagher2012-01-234-66/+47
| | | | | | | | | | | | | | | | | | | | | | | The conversion to the tevent_req style introduced numerous bugs related to memory management of the various client requests. In some circumstances, this could cause memory corruption and segmentation faults in the NSS responder. This patch makes the following changes: 1) Rename the internal lookup from subreq to sidereq, to indicate that it is not a sub-request of the current lookup (and therefore is not cancelled if the current request is). 2) Change the handling of the callback loops since they call tevent_req_[done|error], which results in them being freed (and therefore removed from the cb_list. This was the source of the memory corruption that would occasionally result in dereferencing an unreadable request. 3) Remove the unnecessary sss_dp_get_account_int_recv() function and change sss_dp_get_account_done() so that it only frees the sidereq. All of the waiting processes have already been signaled with the final results from sss_dp_get_account_int_done()
* RESPONDER: Extend sss_dp_account_send() to include extra dataStephen Gallagher2012-01-215-14/+32
| | | | | | | Some NSS maps such as 'services' require more values to be passed to the data provider than just the name or ID. In these cases, we will amend an optional component to filter value to pass to the data provider backend.
* PAM: Fix reversed logicJakub Hrozek2012-01-181-1/+1
|
* SUDO Integration review issuesPavel Březina2012-01-172-1/+4
|
* NSS: Improve DEBUG messages for netgroup cacheStephen Gallagher2012-01-171-2/+2
|
* nsssrv: use sized_string in fill_grentSimo Sorce2012-01-091-35/+48
|
* nsssrv: use sized_string in fill_pwentSimo Sorce2012-01-091-41/+56
|
* nsssrv: add string manipulation helperSimo Sorce2012-01-092-0/+19
| | | | | the sized_string structure makes it easier to keep track of string lengths and makes passing around data more compat and readable.
* nsssrv: remove unused macroSimo Sorce2012-01-041-2/+0
|
* Return user and group names lowercased in case insensitive domainsJakub Hrozek2011-12-211-12/+32
|
* sss_get_cased_name utility functionJakub Hrozek2011-12-213-11/+11
|
* PAM: make initgroups timeout work across multiple clientsStephen Gallagher2011-12-206-6/+241
| | | | | | | | | | | Instead of timing out the initgroups lookup on a per-cctx basis, we will maintain a hash table of recently-seen users and use this instead. This will allow SSSD to handle user's logging into multiple services simultaneously more graciously, as well as playing nicer with SSH (which makes calls to PAM both before and after a fork). https://fedorahosted.org/sssd/ticket/1063
* Deleted declaration of nss_get_dom()Jan Zeleny2011-12-191-4/+0
| | | | | This function has been renamed to responder_get_domain() but this declaration hasn't been deleted.
* Pass client context to sss_dp_get_account_sendJakub Hrozek2011-12-191-1/+1
|
* DP: Remove processed callbacksJakub Hrozek2011-12-161-3/+5
|
* SUDO Integration - responder - get sudo rules logicJakub Hrozek2011-12-161-2/+444
|
* SUDO Integration - responderPavel Březina2011-12-166-0/+1041
|
* Use the case sensitivity flag in respondersJakub Hrozek2011-12-166-46/+168
|
* Canonicalize username in PAM providerJakub Hrozek2011-12-161-0/+27
|
* Responders: Split getting domain by name into separate functionJakub Hrozek2011-12-165-22/+21
|
* Ignore NULL-terminator when checking UTF8-validity for netgroupsStephen Gallagher2011-12-081-1/+1
| | | | Glib fails if the NULL-terminator is included when a length is specified.
* Pass the correct private data into Data Provider callbackJakub Hrozek2011-12-071-1/+1
|