summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Enable automake builds for sssd serverStephen Gallagher2009-05-1913-3791/+467
|
* call tevent_add_fd only onceSumit Bose2009-05-191-27/+11
|
* added prototype for sysdb_set_cached_passwordSumit Bose2009-05-191-0/+6
|
* Implement approximate offline detection in proxySimo Sorce2009-05-181-5/+98
| | | | | This will blackout any request to the backend for 15 seconds, then will allow again to retry.
* Move actual password caching into sysdbSimo Sorce2009-05-1812-156/+286
| | | | Convert auth modules to do the caching themselves
* Split ldap backend into auth and identity filesSimo Sorce2009-05-183-20/+800
|
* Move ldap_be.c into ldap/ldap_auth.cSimo Sorce2009-05-181-0/+0
|
* Prevent accepting blank passwordsSimo Sorce2009-05-181-0/+7
|
* Fix crypt functions to not use static buffers.Simo Sorce2009-05-184-338/+334
| | | | Also fix style, clarify, and simplify some logic.
* Treat the local provider as a special caseStephen Gallagher2009-05-152-1/+17
| | | | | | | The local provider needs no backend, so we'll create a special provider entry for it called "local" that will not attempt to retrieve provider configuration but will remain in the service list so it can be updated when the config file changes.
* added new pam client protocolSumit Bose2009-05-151-1/+132
|
* added more flexible handling of client protocolSumit Bose2009-05-154-2/+63
| | | | | - allow different protocol versions for PAM and NSS - support more than one protocol version in the responder
* Manpage generationJakub Hrozek2009-05-147-3/+240
| | | | | | | | | Provides a set of make rules for generating UNIX manual pages from DocBook 4.5 source as well as sample manpage for sss_useradd. Automatic generation of manual pages during "make" process is tunable with config parameter "--with-manpages". To rebuild the man pages separately, use the "make doc" target. Before building, the manpages are validated using a DTD schema.
* Update configure rules for LDB and POPTStephen Gallagher2009-05-142-4/+9
| | | | | | We need to ensure that configure fails with an error if the popt development libraries are not present or if ldb module support is not available.
* More useful error message when adding user/group that already existsJakub Hrozek2009-05-142-2/+18
| | | | Fixes: RHBZ #498462
* Check for valid ID range, domains overlapJakub Hrozek2009-05-141-0/+36
|
* added check for NULL valuesSumit Bose2009-05-143-9/+8
| | | | | - allow unspecified value in struct pam_data to be NULL - check if domain structure is initialized in pam_reply
* Fix warnings in monitor.c and confdb.cStephen Gallagher2009-05-122-7/+13
|
* Separate confdb API from confdb setupStephen Gallagher2009-05-118-374/+458
| | | | | | | Refactoring the confdb so that the setup code can be linked separately from the access API. This is being done so that our plugins do not need to link against the collection and ini_config libraries.
* Chdir to / when daemonizingJakub Hrozek2009-05-081-0/+11
|
* Use tevent for shutdown signals, remove old pidfile, make sssd single-instance.Jakub Hrozek2009-05-082-1/+79
| | | | | | | | Use tevent signal handling facilities for handlong SIGTERM and SIGINT in the monitor. Remove pidfile on SIGTERM and SIGINT. Make sssd single-instance by checking if we suceeded in signaling the process in the pidfile.
* redirect stderr to /dev/null in initscriptJakub Hrozek2009-05-081-1/+1
|
* Fix some more return paths using uninitalized retSimo Sorce2009-05-061-3/+3
|
* Fixes for porting SSSD to Debian-based platformsStephen Gallagher2009-05-045-5/+7
|
* Fix configuration corruption issueStephen Gallagher2009-04-291-2/+20
| | | | | | | | | | In the event that the configuration was corrupt the first time the SSSD is started, it would write in the special data for attributes and indexes, but it would fail before writing the version. Subsequent reloads (even with correct configuration files) would fail, since they would try again to write the attributes and indexes and fail since they were already present.
* Fix use of uninitialized return variableSimo Sorce2009-04-291-5/+5
|
* Add debug param to the tools, fix lock/unlock in sss_usermodJakub Hrozek2009-04-286-3/+31
|
* Invoke shadow-utils in sss_ toolsJakub Hrozek2009-04-2811-48/+643
| | | | | Make shadow-utils base path configurable Use default values for params, allow configuring them
* handle other pam calls when offlineSumit Bose2009-04-281-0/+10
|
* Use different attribute for cached passwords change timeSumit Bose2009-04-281-2/+2
|
* enable offline handling for native LDAP backendSumit Bose2009-04-281-4/+48
|
* change PAM timeout the match NSS timeSumit Bose2009-04-282-3/+1
|
* Use different attribute for cached passwordsSimo Sorce2009-04-272-3/+5
| | | | | | | This fixes a bug with legacy backends where the cached password would be cleared on a user update. Using a different attribute we make sure a userPassword coming from the remote backend does not interfere with a cachedPassword (and vice versa).
* Release version 0.3.3sssd-0_3_3Stephen Gallagher2009-04-271-1/+1
|
* 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.
* Stress testJakub Hrozek2009-04-273-1/+333
|
* enable uid/gid generation againSumit Bose2009-04-271-3/+6
|
* handle pam acct_mgmt, setcred and open/close_session before user bind in ↵Sumit Bose2009-04-271-0/+17
| | | | ldap backend
* fix for pam proxy chauthtokSumit Bose2009-04-274-9/+22
| | | | | | | | | | When a user from a domain served by the proxy backend changes his password with passwd the passwd command asks for the old password, but it is not validated by the pam_chauthtok call in the proxy backend, because it is running as root. If the request is coming the unpriviledged socket we now call pam_authenticate explicitly before pam_chauthtok.
* removed length of unused element from packet size calculationSumit Bose2009-04-231-1/+1
| | | | | | The domain name is no longer send as an element on its own, but if set as a member of the response array. If the user was not found pd->domain is NULL and strlen will seg-fault.
* fixes for user and group creation in LOCAL domainSumit Bose2009-04-232-1/+20
| | | | | - added range check for supplied UIDs and GIDs - initialize pc_gid to 0 to trigger gid generation
* fix for a seq fault when pam_reply_delay is called.Sumit Bose2009-04-221-2/+2
| | | | see https://fedorahosted.org/sssd/ticket/25
* sssd 0.3.2sssd-0_3_2Jakub Hrozek2009-04-201-1/+1
|
* Force user check and discover user's domainSimo Sorce2009-04-176-297/+593
| | | | | | | | | | | 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.
* Avoid unnecessary reloads of config.ldbSimo Sorce2009-04-161-4/+37
| | | | | | Add code to check if the file has changed since the last update was performed. Avoid dumping and reloading the config ldb if the modification time of the configuration file has not changed at all.
* Fix by_id enumeration with multiple domainsSimo Sorce2009-04-161-0/+10
| | | | | | We need to stop parsing domains as soon as a caaandidate is found and let the callback search additional domains if the id is not found. Should fix ticket #21
* Add common function to retrieve comma sep. listsSimo Sorce2009-04-144-106/+179
| | | | | | Also convert all places where we were using custom code to parse config arguments. And fix a copy&paste error in nss_get_config
* Make reconnection to the Data Provider a global settingStephen Gallagher2009-04-146-10/+12
| | | | | | | Previously, every DP client was allowed to set its own "retries" option. This option was ambiguous, and useless. All DP clients will now use a global option set in the services config called "reconnection_retries"
* Replace the example sssd.conf file with the one used in FedoraStephen Gallagher2009-04-141-32/+71
| | | | | Also remove the [services/infopipe] section, since we're not shipping InfoPipe yet, and that would be confusing.
* Add reconnection code between the NSS responder and the Data providerStephen Gallagher2009-04-141-1/+52
|