summaryrefslogtreecommitdiff
path: root/server/config/SSSDConfigTest.py
AgeCommit message (Collapse)AuthorFilesLines
2010-02-18Rename server/ directory to src/Stephen Gallagher1-1521/+0
Also update BUILD.txt
2010-02-05Add mandatory flag to SSSD config schemaStephen Gallagher1-12/+137
Also add list_mandatory_options() to both SSSDService and SSSDDomain objects. There is a new list_options_with_mandatory() function that will return a longer tuple than list_options(), including the mandatory flag directly.
2010-01-12Remove local and kerberos providers from the access_provider listStephen Gallagher1-2/+2
Update tests to reflect these removals.
2009-12-21Allow debug_timestamps setting on a per-domain basisStephen Gallagher1-0/+2
This was missing from the SSSDConfig API, though it was supported by the daemon.
2009-12-15Use sys.exit instead of exitSumit Bose1-1/+2
2009-12-10Run SSSDConfig tests during 'make check'Stephen Gallagher1-87/+95
2009-12-10Add 'permit' and 'deny' access providers to SSSDConfig APIStephen Gallagher1-5/+7
2009-12-10Fix processing of Boolean values in SSSDConfigStephen Gallagher1-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.
2009-12-10Add missing SSSDConfig file for IPA for make installStephen Gallagher1-0/+1
Update tests to include IPA options
2009-12-09SSSDConfig.get_domain() should properly detect active stateStephen Gallagher1-0/+1
2009-12-09SSSDConfig API: fix deactivate_domain()Stephen Gallagher1-0/+70
deactivate_domain() would crash if it attempted to deactivate an already-inactive domain
2009-12-08Fix SSSDConfig API bugs around [de-]activation of domainsStephen Gallagher1-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.
2009-12-08Reduce the verbosity of the SSSDConfigTestStephen Gallagher1-4/+4
Now it will report only failures or final success
2009-12-08Add SSSDDomain.set_name() function to SSSDConfig APIStephen Gallagher1-0/+36
This function will change the name of an existing domain
2009-12-08Make SSSDDomain.remove_provider() remove configured optionsStephen Gallagher1-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).
2009-12-08SSSDDomain.remove_provider() requires only the provider typeStephen Gallagher1-6/+6
There was no valid reason to require the backend type when specifying a provider to remove.
2009-12-08Handle spaces in config parserJakub Hrozek1-0/+8
Fixes: #301
2009-11-20Validate Kerberos credentials with local keytabSumit Bose1-0/+6
2009-11-20SSSDConfigAPI fixesJakub Hrozek1-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
2009-11-20Convert SSSDConfig API to ipachangeconfJakub Hrozek1-4/+8
With this patch, SSSDConfigAPI is able to keep comments and ordering of sections. Fixes: #226
2009-11-03Add support for option descriptions to SSSDConfig APIStephen Gallagher1-3/+3
Addresses https://fedorahosted.org/sssd/ticket/242 related to authconfig integration
2009-11-03Remove magic_private_groups from SSSDConfig API schemaStephen Gallagher1-2/+0
2009-11-03Make config_file_version a hidden setting in SSSDConfig APIStephen Gallagher1-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
2009-10-28Fix sssd.api.conf with correct entry_cache_timeoutStephen Gallagher1-0/+2
Changeset 3a21103f61bf9b60256cc2d0da54b757b634319f moved the wrong option to the domain list, and also didn't update the unit tests.
2009-10-22Bring SSSDConfig API options up-to-dateStephen Gallagher1-9/+20
2009-10-12Add new SSSDConfig python APIStephen Gallagher1-0/+1310
Also adds unit tests for the SSSDConfig API