summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ldap_pwd_policy optionSumit Bose2009-11-237-45/+129
|
* Add initial failover support for ldap and ipaSimo Sorce2009-11-2022-69/+938
| | | | | | | The retun values are still not directly used with ldap libraries that still do their own name resolution, but this patch introduces a very basic framework to have a multiple providers in one domain use and share a single failover service if they want to.
* Raise some timeoutsSimo Sorce2009-11-202-3/+3
| | | | | When using high debug levels or valgrind the code maybe slow enough that these timeouts were too strict.
* Filter by id range before actually storing entries.Simo Sorce2009-11-204-31/+89
| | | | This way we do not need to check for id ranges on every search.
* Optimize sysdb_enumgrentSimo Sorce2009-11-203-504/+203
| | | | | This brings down the time needed to enumerate my group database from 2.4 seconds to 0.15 seconds.
* Only display errors in unit testsStephen Gallagher2009-11-2010-11/+21
| | | | | If you want to turn verbosity back on, just set the environment variable CK_VERBOSITY=verbose
* Enhance check for remote hostsSumit Bose2009-11-202-55/+97
|
* Add ipa_authSumit Bose2009-11-205-1/+352
| | | | | | | | To support IPA DS to Kerberos password migration a seperate authentication target is added. It calls the Kerberos authentication target and in the case of a 'Preauthentication Error' the LDAP authentication target. On success the Kerberos target is called again to request the TGT.
* Add reference to sssd-krb5 man page.Simo Sorce2009-11-201-0/+3
| | | | Thanks to Marko Myllynen for spotting this.
* Improve handling of ccache filesSumit Bose2009-11-208-206/+1081
| | | | | | | - save current ccache file to sysdb - use the saved ccache file if the user has running processes - create an empty ccache if offline - return enviroment variables if offline
* Correctly escape DN value.Simo Sorce2009-11-201-6/+42
| | | | | In building the DN string we weren't correctly escaping the value of the RDN component. This patches fixes that.
* Better behavior on cleanupSimo Sorce2009-11-204-20/+44
| | | | | | | | | | | | With the previous code in domains with many users and enumeration enable we would eventually end up making thousands of individual searches for entries in the clean-up process. Change the code to do a full enumeration before a cleanup so we do one single big search to update all entries and only then search for entries to purge. This also fixes the fact that the cleanup task was running at every enumeration instead of running every "ldap_purge_cache_timeout" seconds.
* Add empty NL translationStephen Gallagher2009-11-204-0/+654
|
* Validate Kerberos credentials with local keytabSumit Bose2009-11-2016-43/+326
|
* upgrade_config fixes for SSSD 0.6 and laterJakub Hrozek2009-11-201-1/+19
| | | | | | | | | Incorporates changes we made to v2 after 0.6, or that were missed by the original upgrade script: * removes magic_private_groups option * removes libPath option * changes provider=files to provider=proxy proxy_lib_name=files * changes store-legacy-passwords to store_legacy_passwords
* SSSDConfigAPI fixesJakub Hrozek2009-11-202-399/+133
| | | | | | | | | * splitlist is a function * shared SSSDConfigObject to reduce code duplication * added missing exception class * fixed some typos * remove extra 'pass' in unittests * use assertRaises in unittests
* Convert SSSDConfig API to ipachangeconfJakub Hrozek2009-11-203-59/+70
| | | | | | | With this patch, SSSDConfigAPI is able to keep comments and ordering of sections. Fixes: #226
* Change the upgrade script to use ipachangeconfJakub Hrozek2009-11-202-189/+165
| | | | | | | With this patch, the upgrade script we use for changing the config files is able to keep ordering and comments. Fixes: #249
* SSSDChangeConf - a wrapper around ipachangeconfJakub Hrozek2009-11-201-0/+91
| | | | | Provides a convenient wrapper around ipachangeconf that is closer API-wise to ConfigParser
* Add Simo's ipachangeconfJakub Hrozek2009-11-203-0/+461
|
* Fix sysdb upgrade bugStephen Gallagher2009-11-191-1/+1
| | | | | | After completing an upgrade successfully, we were still falling into the "version not found" case. We should be exiting the function after performing the upgrade.
* Make the password field configurable in NSSJakub Hrozek2009-11-186-4/+17
| | | | | | | | Per the discussion on sssd-devel list, nss_sss should not return a hardcoded value but this should rather be configurable to allow whatever the OS or distribution thinks is the best for the particular case. Fixes: #266
* Adding Japanese translationnoriko2009-11-184-0/+654
|
* Add Italian translation for sss_clientdeneb2009-11-182-0/+41
|
* Add French translation to sss_clientBouska2009-11-182-0/+37
|
* Update translatable stringsStephen Gallagher2009-11-186-39/+69
|
* Failover fixes and additionsSimo Sorce2009-11-183-7/+25
|
* Store initgr expire time on initgr callSimo Sorce2009-11-181-6/+17
|
* Change the pam code to perform an initgroups callSimo Sorce2009-11-181-1/+1
| | | | | | An initgroups call refreshes both the user and the user's groups, this is ideal for pam so that we don't need addiotnal initgroups calls (initgroups calls are cached too now) during the login process.
* Change initgroups code to use and check the cacheSimo Sorce2009-11-182-218/+109
| | | | | | | We were previously always ending up contacting the backend because we had no way to know if an initgroups call for the same user had ever been called. Add attribute to hold this information and rely on backends to update it. If they don't we fallback to the previous behvior of asking the backend.
* Fix crash due to uninitialized timeout variableSimo Sorce2009-11-181-0/+1
| | | | | This slipped through in previous patches. Fixes #283
* Upgrade cache and local databases to case-sensitive namesStephen Gallagher2009-11-182-2/+96
|
* Make the sysdb user and group names case-sensitiveStephen Gallagher2009-11-182-1/+39
|
* Fix option name krb5_changepw_principalSumit Bose2009-11-135-7/+7
|
* Change var name to make its use more clear.Simo Sorce2009-11-122-7/+7
| | | | | Change memctx to make clear it should be used only when a callback is being used.
* Make 'permit' the default for the access targetSumit Bose2009-11-122-16/+5
|
* Fix check_cache bug in dealing with the callbackSimo Sorce2009-11-121-97/+104
| | | | | | | | Also rework check_cache so that the operations it makes are more explicit. Also add comments about why we are doing something. Should make the code easier to understand in future (took quite some time and discussion on IRC to understand exactly how this function was behaving and to find the callback passing bug).
* Fix double free case.Simo Sorce2009-11-121-1/+3
|
* Fixes for proxy providerSumit Bose2009-11-122-7/+26
| | | | | - use the correct private data for each PAM task - make proxy_pam_target a mandatory option for auth, chpass and access
* Fix inconsistent use of krb5_ccname_templateSumit Bose2009-11-122-2/+2
|
* Try to fix offline loginsSimo Sorce2009-11-122-13/+7
|
* Add support for host, source host and user categorySumit Bose2009-11-121-8/+54
| | | | | | | This patch add support for the host, source host and user category 'all'. All other category values are ignored so far. With the patch the interpretation of an empty memberUser and empty sourceHost and externalHost is changed to 'not applicable'.
* Fix Requires: sssd-client line in specfileStephen Gallagher2009-11-101-1/+1
|
* Add cleanup taskSimo Sorce2009-11-109-156/+915
|
* Refactor delete functions and add a fewSimo Sorce2009-11-104-234/+648
| | | | | | Refactor user/group delete functions so that they can be used without a transaction (they autostart an operation). Add user and group search function where a subfilter can be specified.
* Add check for access-time rules to ipa_access.Sumit Bose2009-11-104-0/+74
|
* Simplify krb5 child handlerSumit Bose2009-11-101-17/+18
| | | | | | | | Currently the Kerberos child handler evaluates the siginfo_t structure to wait for a specific child. This scheme is prone to error, especially when there are more than one child process active, and can produce missleading debug message. This patch simplifies the scheme as it waits for any child.
* Fix segfault on unknown user/domainStephen Gallagher2009-11-091-2/+2
|
* Fix tevent_req error checking.Simo Sorce2009-11-0916-284/+111
| | | | When possible using a macro that correctly deals with tstate
* Assorted manpage fixesJakub Hrozek2009-11-091-27/+14
| | | | | | * do not mention the sbus_timeout parameter at all * document the config_file_version parameter * different wording for negative cache