summaryrefslogtreecommitdiffstats
path: root/server/config/SSSDConfigTest.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix processing of Boolean values in SSSDConfigStephen Gallagher2009-12-101-2/+40
| | | | | | | Previously, we were just casting the strings to bool, but this meant that all boolean values were "True". This patch solves the problem and adds regression tests for it.
* Add missing SSSDConfig file for IPA for make installStephen Gallagher2009-12-101-0/+1
| | | | Update tests to include IPA options
* SSSDConfig.get_domain() should properly detect active stateStephen Gallagher2009-12-091-0/+1
|
* SSSDConfig API: fix deactivate_domain()Stephen Gallagher2009-12-091-0/+70
| | | | | deactivate_domain() would crash if it attempted to deactivate an already-inactive domain
* Fix SSSDConfig API bugs around [de-]activation of domainsStephen Gallagher2009-12-081-0/+63
| | | | | | | | | Adds two new public functions: SSSDConfig.activate_domain() SSSDConfig.deactivate_domain() These two functions are used during the save_domain() call to ensure that the active domain list is always kept up to date.
* Reduce the verbosity of the SSSDConfigTestStephen Gallagher2009-12-081-4/+4
| | | | Now it will report only failures or final success
* Add SSSDDomain.set_name() function to SSSDConfig APIStephen Gallagher2009-12-081-0/+36
| | | | This function will change the name of an existing domain
* Make SSSDDomain.remove_provider() remove configured optionsStephen Gallagher2009-12-081-0/+27
| | | | | | | We will remove all options for a provider that are not also required by another configured provider. (For example, we will not remove krb5_realm when deleting the krb5 auth provider if the LDAP provider is in use, since it may still require this argument).
* SSSDDomain.remove_provider() requires only the provider typeStephen Gallagher2009-12-081-6/+6
| | | | | There was no valid reason to require the backend type when specifying a provider to remove.
* Handle spaces in config parserJakub Hrozek2009-12-081-0/+8
| | | | Fixes: #301
* Validate Kerberos credentials with local keytabSumit Bose2009-11-201-0/+6
|
* SSSDConfigAPI fixesJakub Hrozek2009-11-201-262/+56
| | | | | | | | | * 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-201-4/+8
| | | | | | | With this patch, SSSDConfigAPI is able to keep comments and ordering of sections. Fixes: #226
* Add support for option descriptions to SSSDConfig APIStephen Gallagher2009-11-031-3/+3
| | | | | Addresses https://fedorahosted.org/sssd/ticket/242 related to authconfig integration
* Remove magic_private_groups from SSSDConfig API schemaStephen Gallagher2009-11-031-2/+0
|
* Make config_file_version a hidden setting in SSSDConfig APIStephen Gallagher2009-11-031-16/+30
| | | | | | | | The config_file_version should never be changed by the API, so we will hide the option inside the SSSDConfig API and remove it from the schema. Guarantee that the config file is of the correct version
* Fix sssd.api.conf with correct entry_cache_timeoutStephen Gallagher2009-10-281-0/+2
| | | | | Changeset 3a21103f61bf9b60256cc2d0da54b757b634319f moved the wrong option to the domain list, and also didn't update the unit tests.
* Bring SSSDConfig API options up-to-dateStephen Gallagher2009-10-221-9/+20
|
* Add new SSSDConfig python APIStephen Gallagher2009-10-121-0/+1310
Also adds unit tests for the SSSDConfig API