summaryrefslogtreecommitdiff
path: root/server/responder/common/responder.h
AgeCommit message (Collapse)AuthorFilesLines
2010-02-18Rename server/ directory to src/Stephen Gallagher1-152/+0
Also update BUILD.txt
2010-02-18Eliminate separate build tree for sss_clientStephen Gallagher1-1/+1
2009-11-23Speed up user requests while offlineStephen Gallagher1-1/+2
This adds a new boolean option to sss_dp_send_acct_req() called fast_reply. If we make a request to the backends and we are currently offline, this option will determine whether we should immediately return from the cache (acceptable for NSS requests) or potentially wait for an online check to complete (required for PAM requests).
2009-11-12Change var name to make its use more clear.Simo Sorce1-1/+1
Change memctx to make clear it should be used only when a callback is being used.
2009-10-09Remove DP processSimo Sorce1-3/+17
Turn the backend process into data provider servers Make Frontends (pam, nss) directly attach to the backends
2009-10-06Remove unused btreemap codeStephen Gallagher1-1/+0
We have converted to using dhash in place of btreemap everywhere in the code.
2009-09-08Split database in multiple filesSimo Sorce1-1/+1
The special persistent local database retains the original name. All other backends now have their own cache-NAME.ldb file.
2009-08-17Fix reconnection codeSimo Sorce1-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.
2009-08-14Refactor responder_dp.cStephen Gallagher1-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_*
2009-08-14Don't go to the backend for identical cache entry requestsStephen Gallagher1-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.
2009-08-11Change the why DP clients identifySimo Sorce1-2/+6
Mirrors what we have done with the monitor.
2009-08-11Change services identification mechanismSimo Sorce1-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.
2009-08-10Simplify interfaces initializationSimo Sorce1-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.
2009-08-10Cosmetic changesSimo Sorce1-1/+1
Rationalize and rename connection names in preparatoin for merging of server and connection structures.
2009-08-10Remove redundant memory contextsSimo Sorce1-2/+3
Simplify code by removing stuff that is never used or redundant.
2009-08-05Move parsing of names and domains into util/Jakub Hrozek1-7/+0
2009-05-26Silence warningsSimo Sorce1-2/+2
2009-05-26Do not fire up backend search when the data provider is localJakub Hrozek1-0/+4
2009-05-15added more flexible handling of client protocolSumit Bose1-0/+8
- allow different protocol versions for PAM and NSS - support more than one protocol version in the responder
2009-04-17Force user check and discover user's domainSimo Sorce1-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.
2009-04-08Change the way we retrieve domainsSimo Sorce1-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.
2009-04-07Unify name parsing and reposnder headersSimo Sorce1-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.