summaryrefslogtreecommitdiffstats
path: root/server/responder/common
Commit message (Collapse)AuthorAgeFilesLines
* check pending_return after dbus_connection_send_with_replySumit Bose2009-07-021-1/+1
|
* 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-152-1/+41
| | | | | - allow different protocol versions for PAM and NSS - support more than one protocol version in the responder
* Eliminate segfault on NSS and PAM responder startup.Stephen Gallagher2009-04-271-0/+4
| | | | | | | | If the data provider is not yet available when NSS and PAM start, they will generate a segmentation fault when trying to configure their automatic reconnection to the Data Provider. I've now added code in sss_dp_init() to detect whether the dp_ctx is NULL and return EIO.
* Force user check and discover user's domainSimo Sorce2009-04-172-0/+274
| | | | | | | | | | | 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-082-37/+2
| | | | | | | | | | | | | 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-076-60/+147
| | | | | | 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.
* Make nsssrv use the common responder functionsSimo Sorce2009-03-274-35/+13
| | | | | Make nss_ctx a private pointer of the common resp_ctx Use sss_process_init and remove all duplicate functions from nsssrv.c
* Enable autoreconnection to the Data Provider in PAMStephen Gallagher2009-03-262-3/+6
|
* Refactor nss_ctx to resp_ctx in respondersStephen Gallagher2009-03-264-98/+98
|
* added generic PAM return messages and a false login delaySumit Bose2009-03-101-1/+1
|
* use fixed paths to sockets to make sure clients and server are using the sameSumit Bose2009-03-093-56/+67
|
* added a privileged pipeSumit Bose2009-03-055-5/+135
|
* first version of LOCAL pam backendSumit Bose2009-03-021-0/+22
|
* Refactor creation of domain_map into confdbStephen Gallagher2009-02-271-68/+3
| | | | | | | | | | | | | | | | | The NSS provider, the Data Provider backends and the InfoPipe all need access to the domain map provided by the confdb. Instead of reimplimenting it in multiple places, it is now provided in a pair of helper functions from the confdb. confdb_get_domains() returns a domain map by reference. Always returns the most up-to-date set of domains from the confdb. confdb_get_domains_list() returns an array of strings of all the domain names. Always returns the most up-to-date set of domains from the confdb. This patch also modifies the btreemap_get_keys() function to better handle memory and report allocation failures.
* Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce2009-02-265-27/+27
| | | | | | dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
* Add PAM responderSumit Bose2009-02-248-0/+1077
Also move responders under server/responder with shared code in server/responder/common Signed-off-by: Simo Sorce <ssorce@redhat.com>