summaryrefslogtreecommitdiff
path: root/src/responder
AgeCommit message (Collapse)AuthorFilesLines
2012-03-09Potential NULL-dereference in sudosrv_cmd_get_sudorulesPavel Březina1-14/+12
https://fedorahosted.org/sssd/ticket/1236
2012-03-09Use of unininitialized value in sudosrv_cache_set_entry and ↵Pavel Březina1-0/+2
sudosrv_cache_lookup_internal https://fedorahosted.org/sssd/ticket/1232
2012-03-08Handle errors from lookup_netgr_step gracefullyJakub Hrozek1-3/+10
2012-03-08Save original name into the in-memory cacheJakub Hrozek1-1/+1
2012-03-08Use the correct hash table for pending requestsSimo Sorce7-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
2012-02-29Remove sysdb_get_ctx_from_list()Sumit Bose8-58/+53
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