summaryrefslogtreecommitdiff
path: root/server/config/SSSDConfig.py
AgeCommit message (Collapse)AuthorFilesLines
2009-12-09Ensure that list_active_domains returns the real valueStephen Gallagher1-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.
2009-12-09SSSDConfig.get_domain() should properly detect active stateStephen Gallagher1-0/+29
2009-12-09SSSDConfig API: fix deactivate_domain()Stephen Gallagher1-2/+3
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-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.
2009-12-08Add SSSDDomain.set_name() function to SSSDConfig APIStephen Gallagher1-3/+41
This function will change the name of an existing domain
2009-12-08Make SSSDDomain.remove_provider() remove configured optionsStephen Gallagher1-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).
2009-12-08SSSDDomain.remove_provider() requires only the provider typeStephen Gallagher1-6/+12
There was no valid reason to require the backend type when specifying a provider to remove.
2009-11-23Add ldap_pwd_policy optionSumit Bose1-0/+3
2009-11-20Validate Kerberos credentials with local keytabSumit Bose1-0/+2
2009-11-20SSSDConfigAPI fixesJakub Hrozek1-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
2009-11-20Convert SSSDConfig API to ipachangeconfJakub Hrozek1-54/+60
With this patch, SSSDConfigAPI is able to keep comments and ordering of sections. Fixes: #226
2009-11-18Make the password field configurable in NSSJakub Hrozek1-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
2009-11-03Add complete pydoc for SSSDConfig APIStephen Gallagher1-1/+534
2009-11-03Add support for option descriptions to SSSDConfig APIStephen Gallagher1-11/+145
Addresses https://fedorahosted.org/sssd/ticket/242 related to authconfig integration
2009-11-03Make config_file_version a hidden setting in SSSDConfig APIStephen Gallagher1-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
2009-10-12Add new SSSDConfig python APIStephen Gallagher1-0/+645
Also adds unit tests for the SSSDConfig API