summaryrefslogtreecommitdiffstats
path: root/server/config/SSSDConfig.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix processing of Boolean values in SSSDConfigStephen Gallagher2009-12-101-21/+85
| | | | | | | 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.
* Ensure that list_active_domains returns the real valueStephen Gallagher2009-12-091-4/+16
| | | | | | | | Previously, we were accidentally filtering out domains that were not configured, so deleted domains might still appear in the active domain list. This patch should ensure that this never happens.
* SSSDConfig.get_domain() should properly detect active stateStephen Gallagher2009-12-091-0/+29
|
* SSSDConfig API: fix deactivate_domain()Stephen Gallagher2009-12-091-2/+3
| | | | | 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-7/+89
| | | | | | | | | 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.
* Add SSSDDomain.set_name() function to SSSDConfig APIStephen Gallagher2009-12-081-3/+41
| | | | This function will change the name of an existing domain
* Make SSSDDomain.remove_provider() remove configured optionsStephen Gallagher2009-12-081-6/+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/+12
| | | | | There was no valid reason to require the backend type when specifying a provider to remove.
* Add ldap_pwd_policy optionSumit Bose2009-11-231-0/+3
|
* Validate Kerberos credentials with local keytabSumit Bose2009-11-201-0/+2
|
* SSSDConfigAPI fixesJakub Hrozek2009-11-201-137/+77
| | | | | | | | | * 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-54/+60
| | | | | | | With this patch, SSSDConfigAPI is able to keep comments and ordering of sections. Fixes: #226
* Make the password field configurable in NSSJakub Hrozek2009-11-181-0/+1
| | | | | | | | 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
* Add complete pydoc for SSSDConfig APIStephen Gallagher2009-11-031-1/+534
|
* Add support for option descriptions to SSSDConfig APIStephen Gallagher2009-11-031-11/+145
| | | | | Addresses https://fedorahosted.org/sssd/ticket/242 related to authconfig integration
* Make config_file_version a hidden setting in SSSDConfig APIStephen Gallagher2009-11-031-0/+21
| | | | | | | | 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
* Add new SSSDConfig python APIStephen Gallagher2009-10-121-0/+645
Also adds unit tests for the SSSDConfig API