path: root/server/responder/common/responder.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix reconnection codeSimo Sorce2009-08-171-5/+0
| | | | | | | Remove redundant reconnection code that was interfeering with the sbus reconnection code. Consolidate include files for sbus relates operations. Make pamsrv code similar to nsssrv code.
* Refactor responder_dp.cStephen Gallagher2009-08-141-6/+6
| | | | | | Many of the functions in responder_dp.c were originally NSS- specific and were moved there from the NSS responder code. Since they are now generic to any responder, rename them to sss_dp_*
* Don't go to the backend for identical cache entry requestsStephen Gallagher2009-08-141-0/+3
| | | | | | | | | Currently, if an additional request comes in for a cache entry while that same entry is already in the process of being refreshed, we start a duplicate cache update request. This patch adds allows the cache to maintain a hash table of all in-progress requests and queue up multiple callbacks for updates in progress. Once the data is returned, all of these callbacks will fire.
* Change the why DP clients identifySimo Sorce2009-08-111-2/+6
| | | | Mirrors what we have done with the monitor.
* Change services identification mechanismSimo Sorce2009-08-111-0/+2
| | | | | | | Let services identify themselves voiluntarily as the first operation instead of polling from the monitor. Also consolidate some common functions and make them available as monitor helpers.
* Simplify interfaces initializationSimo Sorce2009-08-101-7/+5
| | | | | | | Make as much as possible static, and remove use of talloc_reference and allocation/deallocation of memory when not necessary. Fix also responder use of rctx->conn, was mistakenly used for both monitor and dp connections.
* Cosmetic changesSimo Sorce2009-08-101-1/+1
| | | | | Rationalize and rename connection names in preparatoin for merging of server and connection structures.
* Remove redundant memory contextsSimo Sorce2009-08-101-2/+3
| | | | Simplify code by removing stuff that is never used or redundant.
* Move parsing of names and domains into util/Jakub Hrozek2009-08-051-7/+0
* Silence warningsSimo Sorce2009-05-261-2/+2
* Do not fire up backend search when the data provider is localJakub Hrozek2009-05-261-0/+4
* added more flexible handling of client protocolSumit Bose2009-05-151-0/+8
| | | | | - allow different protocol versions for PAM and NSS - support more than one protocol version in the responder
* Force user check and discover user's domainSimo Sorce2009-04-171-0/+12
| | | | | | | | | | | Force a user lookup against the users domain provider. If a user domain is not specified search though all non fully qualifying domains. Perform authentication against the corrent domain auth backend, based on the user's domain found in the lookup if one was not specified. Also move the NSS-DP functions in COMMON-DP as they are reused by the PAM responder too now.
* Change the way we retrieve domainsSimo Sorce2009-04-081-2/+1
| | | | | | | | | | | | | To be able to correctly filter out duplicate names when multiple non-fully qualified domains are in use we need to be able to specify the domains order. This is now accomplished by the configuration paramets 'domains' in the config/domains entry. 'domains' is a comma separated list of domain names. This paramter allows also to have disbaled domains in the configuration without requiring to completely delete them. The domains list is now kept in a linked list of sss_domain_info objects. The first domain is also the "default" domain.
* Unify name parsing and reposnder headersSimo Sorce2009-04-071-0/+119
Use common sss_parse_name function in all responders Simplify responder headers by combining common,cmd,dp in one header and add name parse structure as part of the common responder context.