summaryrefslogtreecommitdiffstats
path: root/src/responder
Commit message (Collapse)AuthorAgeFilesLines
* Save original name into the in-memory cacheJakub Hrozek2012-03-161-1/+1
|
* Handle errors from lookup_netgr_step gracefullyJakub Hrozek2012-03-121-3/+10
|
* Use the correct hash table for pending requestsSimo Sorce2012-03-097-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
* SSH: Replace blocking getaddrinfo call in the responder with asynchronous ↵Jan Cholasta2012-02-273-26/+56
| | | | resolver code
* SSH: Use fchmod instead of chmod on known_hosts fileJan Cholasta2012-02-271-8/+4
|
* SSH: Add more debugging messagesJan Cholasta2012-02-271-0/+8
|
* SSH: Don't abort known_hosts update when host search failsJan Cholasta2012-02-271-1/+1
|
* SSH: Manage global known_hosts file in the responderJan Cholasta2012-02-272-0/+134
| | | | https://fedorahosted.org/sssd/ticket/1193
* SSH: Save SSH host name aliasesJan Cholasta2012-02-272-1/+26
|
* AUTOFS: speed up the client by requesting multiple entries at onceJakub Hrozek2012-02-272-34/+79
| | | | https://fedorahosted.org/sssd/ticket/1166
* AUTOFS: Invoke implicit setautomntent if neededJakub Hrozek2012-02-232-45/+156
| | | | https://fedorahosted.org/sssd/ticket/1167
* Move sudo_dom_ctx.user to local variablePavel Březina2012-02-232-8/+8
|
* Honor case_sensitive option in sudo responderPavel Březina2012-02-234-21/+100
| | | | https://fedorahosted.org/sssd/ticket/1205
* RESPONDERS: Allow increasing the file-descriptor limitStephen Gallagher2012-02-174-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 lookupsJakub Hrozek2012-02-171-6/+6
|
* NSS: Always return the same protocol that was requestedStephen Gallagher2012-02-172-9/+26
| | | | https://fedorahosted.org/sssd/ticket/1160
* Check for failure in sss_packet_grow()Stephen Gallagher2012-02-131-5/+5
| | | | Coverity #12489
* Avoid uninitialized value comparisonStephen Gallagher2012-02-131-0/+3
| | | | Coverity #12526
* SSH: Verify that names received from client are valid UTF-8 in responderJan Cholasta2012-02-131-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 contextJakub Hrozek2012-02-134-9/+9
| | | | https://fedorahosted.org/sssd/ticket/1189
* Remove setent structure when callback is calledJakub Hrozek2012-02-135-22/+16
|
* Only fetch SELinux string if the user is foundJakub Hrozek2012-02-101-1/+2
|
* SUDO responder: check if the input is a UTF-8 stringPavel Březina2012-02-101-0/+7
| | | | https://fedorahosted.org/sssd/ticket/1171
* Fix group enumerationJakub Hrozek2012-02-102-2/+9
| | | | | | Also adds some more debugging and fixes a code style issue. https://fedorahosted.org/sssd/ticket/1182
* 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
|