summaryrefslogtreecommitdiff
path: root/src/responder
AgeCommit message (Collapse)AuthorFilesLines
2012-02-27SSH: Replace blocking getaddrinfo call in the responder with asynchronous ↵Jan Cholasta3-26/+56
resolver code
2012-02-27SSH: Use fchmod instead of chmod on known_hosts fileJan Cholasta1-8/+4
2012-02-27SSH: Add more debugging messagesJan Cholasta1-0/+8
2012-02-27SSH: Don't abort known_hosts update when host search failsJan Cholasta1-1/+1
2012-02-27AUTOFS: speed up the client by requesting multiple entries at onceJakub Hrozek2-34/+79
https://fedorahosted.org/sssd/ticket/1166
2012-02-26SSH: Manage global known_hosts file in the responderJan Cholasta2-0/+134
https://fedorahosted.org/sssd/ticket/1193
2012-02-26SSH: Save SSH host name aliasesJan Cholasta2-1/+26
2012-02-23AUTOFS: Invoke implicit setautomntent if neededJakub Hrozek2-45/+156
https://fedorahosted.org/sssd/ticket/1167
2012-02-23Move sudo_dom_ctx.user to local variablePavel Březina2-8/+8
2012-02-23Honor case_sensitive option in sudo responderPavel Březina4-21/+100
https://fedorahosted.org/sssd/ticket/1205
2012-02-21Don't give memory context in confdb where not neededJan Zeleny6-18/+18
2012-02-17RESPONDERS: Make the fd_limit setting configurableStephen Gallagher3-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
2012-02-17RESPONDERS: Allow increasing the file-descriptor limitStephen Gallagher4-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
2012-02-17Fix case insensitive service lookupsJakub Hrozek1-6/+6
2012-02-17NSS: Always return the same protocol that was requestedStephen Gallagher2-9/+26
https://fedorahosted.org/sssd/ticket/1160
2012-02-13Check for failure in sss_packet_grow()Stephen Gallagher1-5/+5
Coverity #12489
2012-02-13Avoid uninitialized value comparisonStephen Gallagher1-0/+3
Coverity #12526
2012-02-13SSH: Verify that names received from client are valid UTF-8 in responderJan Cholasta1-0/+4
Also added a comment describing the wire format of client requests and responses. https://fedorahosted.org/sssd/ticket/1177
2012-02-13Allocate setent structure on state, not on the client contextJakub Hrozek4-9/+9
https://fedorahosted.org/sssd/ticket/1189
2012-02-13Remove setent structure when callback is calledJakub Hrozek5-22/+16
2012-02-10Only fetch SELinux string if the user is foundJakub Hrozek1-1/+2
2012-02-10SUDO responder: check if the input is a UTF-8 stringPavel Březina1-0/+7
https://fedorahosted.org/sssd/ticket/1171
2012-02-10Fix group enumerationJakub Hrozek2-2/+9
Also adds some more debugging and fixes a code style issue. https://fedorahosted.org/sssd/ticket/1182
2012-02-07Fix SSH compilation on RHEL5Jakub Hrozek1-0/+3
2012-02-07SSH: ResponderJan Cholasta3-0/+872
2012-02-07DP: Add support for hosts in sss_dp_get_accountJan Cholasta2-2/+13
Host requests are directed to the host info handler.
2012-02-06SUDO Integration - fix offline behaviourPavel Březina1-2/+2
2012-02-06SELinux support in PAM responderJan Zeleny1-0/+163
2012-02-05AUTOFS: responderJakub Hrozek6-3/+1720
2012-02-05Split the logic to check cache expiration into separate functionJakub Hrozek3-43/+73
2012-02-05RESPONDERS: Refactor setent_req_listJakub Hrozek6-100/+133
Makes the setent_add_ref() and setent_notify_*() functions more generic to be reusable by the autofs responder.
2012-02-04SUDO Integration - responder 'sudo_timed' optionPavel Březina3-1/+32
https://fedorahosted.org/sssd/ticket/1116
2012-02-04SUDO Integration - in-memory cache in responderPavel Březina5-9/+415
New sudo responder option: cache_timeout https://fedorahosted.org/sssd/ticket/1111
2012-02-04NSS: Add individual timeouts for entry typesStephen Gallagher1-1/+1
https://fedorahosted.org/sssd/ticket/1016
2012-02-04NSS: Use sss_hash_create instead of destructorJakub Hrozek2-13/+2
2012-02-02RESPONDERS: Provide a common sss_cmd_send_error functionJakub Hrozek3-13/+19
The common function could be reused in new responders
2012-01-31Refactor nss_cmd_send_emptyJakub Hrozek6-41/+46
2012-01-30Fix sudo compilation on RHEL5Jakub Hrozek1-0/+2
2012-01-27SUDO Integration - responder command for cn=defaultsPavel Březina4-18/+93
https://fedorahosted.org/sssd/ticket/1143
2012-01-27SUDO Integration - prepare data provider for new responder commandsPavel Březina1-1/+1
https://fedorahosted.org/sssd/ticket/1143
2012-01-27SUDO Integration - make sysdb_get_sudo_filter() more configurablePavel Březina1-2/+5
https://fedorahosted.org/sssd/ticket/1143
2012-01-27Rename sss_dp_type to sss_dp_sudo_typeStephen Gallagher2-4/+4
I pushed an older version of this patch that had the incorrect name. This is the interdiff.
2012-01-27Use the new SUDO request in DP and sudo responderJakub Hrozek3-216/+67
Also remove the old request implementation https://fedorahosted.org/sssd/ticket/1115
2012-01-27SUDO: Provide a sudo DP request based on the internal_reqJakub Hrozek2-0/+144
2012-01-27NSS: Add service enumeration support to NSS providerStephen Gallagher3-1/+662
2012-01-27DP: Refactor responder_dp_req so it's reusable by other respondersJakub Hrozek3-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
2012-01-27NSS: Add getservbyname and getservbyport support to the NSS ResponderStephen Gallagher3-0/+1209
2012-01-27NSS: Add negative cache routines for servicesStephen Gallagher2-3/+132
2012-01-27DP: Add support for services in dp requestsStephen Gallagher2-0/+4
2012-01-26PAM: Do not overwrite retJakub Hrozek1-3/+1