summaryrefslogtreecommitdiffstats
path: root/server/responder/pam/pamsrv.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename server/ directory to src/Stephen Gallagher2010-02-181-57/+0
| | | | Also update BUILD.txt
* Add sysdb request to authenticate against a cached passwordSumit Bose2010-01-201-2/+0
| | | | | | | | | The code for authentication against a cached password is moved from the pam responder to a generic sysdb tevent request. The new code can be used by other components of sssd to verify passwords on their own. Tests for the sysdb_cache_password and sysdb_cache_auth request are added and some unneeded or unused code and variables are removed.
* Add support for offline auth cache timeoutStephen Gallagher2009-10-221-0/+1
| | | | | | | | | This adds a new option (offline_credentials_expiration) to the [PAM] section of the sssd.conf If the user does not perform an online authentication within the timeout (in days), they will be denied auth once the timeout passes.
* Add pam_ctx (similar to nss_ctx) for storing global PAM configStephen Gallagher2009-10-221-0/+4
|
* Add copyright noticesJakub Hrozek2009-09-111-0/+21
| | | | Fixes: #138
* Fix reconnection codeSimo Sorce2009-08-171-1/+1
| | | | | | | 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.
* Change the why DP clients identifySimo Sorce2009-08-111-1/+0
| | | | Mirrors what we have done with the monitor.
* Simplify interfaces initializationSimo Sorce2009-08-101-1/+1
| | | | | | | 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.
* Move actual password caching into sysdbSimo Sorce2009-05-181-1/+0
| | | | Convert auth modules to do the caching themselves
* change PAM timeout the match NSS timeSumit Bose2009-04-281-2/+0
|
* Force user check and discover user's domainSimo Sorce2009-04-171-0/+3
| | | | | | | | | | | 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.
* Implement credentials caching in pam responder.Simo Sorce2009-04-131-39/+14
| | | | | | | Implement credentials caching in pam responder. Currently works only for the proxy backend. Also cleanup pam responder code and mode common code in data provider. (the data provider should never include responder private headers)
* Unify name parsing and reposnder headersSimo Sorce2009-04-071-1/+1
| | | | | | 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.
* added response type PAM_ENV_ITEM and integrated response data into dbus messagesSumit Bose2009-03-201-5/+5
|
* use pam_data as main data structure for dbus communicationSumit Bose2009-03-191-0/+5
|
* added generic PAM return messages and a false login delaySumit Bose2009-03-101-2/+15
|
* Simplify some aspects of pam_LOCAL_domainSimo Sorce2009-03-041-1/+2
| | | | | | | | | | Use only one context (the local request) for all functions. Use new helper function in sysdb to set numbers as sysdb_attrs values. Do not use pam_status to report internal errors, use an error variable and check it only when we finally reply. Use sysdb_error_to_errno() to convert and ldb error to errno. Do not free every single buffer allocated, they are all appended to the local request and will be automatically freed once the request is finished.
* first version of LOCAL pam backendSumit Bose2009-03-021-0/+7
|
* Add PAM responderSumit Bose2009-02-241-0/+33
Also move responders under server/responder with shared code in server/responder/common Signed-off-by: Simo Sorce <ssorce@redhat.com>