diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-21 06:46:29 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-12 14:18:14 -0400 |
commit | 12f673d54bd7a1a5ecdc2f519ac85876bb22ecae (patch) | |
tree | 6d9cd6138f4a023cde4166b71ef00abce7b30cbd /server/config/testconfigs | |
parent | 85378ff4fb73e16261ef52b6b6217458374440bf (diff) | |
download | sssd-12f673d54bd7a1a5ecdc2f519ac85876bb22ecae.tar.gz sssd-12f673d54bd7a1a5ecdc2f519ac85876bb22ecae.tar.bz2 sssd-12f673d54bd7a1a5ecdc2f519ac85876bb22ecae.zip |
Add new SSSDConfig python API
Also adds unit tests for the SSSDConfig API
Diffstat (limited to 'server/config/testconfigs')
-rw-r--r-- | server/config/testconfigs/noparse.api.conf | 7 | ||||
-rw-r--r-- | server/config/testconfigs/sssd-invalid.conf | 3 | ||||
-rw-r--r-- | server/config/testconfigs/sssd-valid.conf | 42 |
3 files changed, 52 insertions, 0 deletions
diff --git a/server/config/testconfigs/noparse.api.conf b/server/config/testconfigs/noparse.api.conf new file mode 100644 index 00000000..50651001 --- /dev/null +++ b/server/config/testconfigs/noparse.api.conf @@ -0,0 +1,7 @@ +# Format: +# option = type, subtype[, default] + +[service] +# Options available to all services +debug_level = int, None, 0 +command
\ No newline at end of file diff --git a/server/config/testconfigs/sssd-invalid.conf b/server/config/testconfigs/sssd-invalid.conf new file mode 100644 index 00000000..3a84ae11 --- /dev/null +++ b/server/config/testconfigs/sssd-invalid.conf @@ -0,0 +1,3 @@ +[sssd] +services +config_file_version = 2 diff --git a/server/config/testconfigs/sssd-valid.conf b/server/config/testconfigs/sssd-valid.conf new file mode 100644 index 00000000..6725e0a7 --- /dev/null +++ b/server/config/testconfigs/sssd-valid.conf @@ -0,0 +1,42 @@ +[nss] +nss_filter_groups = root +nss_entry_negative_timeout = 15 +debug_level = 0 +nss_filter_users_in_groups = true +nss_filter_users = root +nss_entry_cache_no_wait_timeout = 60 +nss_entry_cache_timeout = 600 +nss_enum_cache_timeout = 120 + +[sssd] +services = nss, pam +reconnection_retries = 3 +domains = LOCAL, IPA +config_file_version = 2 + +[domain/PROXY] +id_provider = proxy +auth_provider = proxy +debug_level = 0 + +[domain/IPA] +id_provider = ldap +auth_provider = krb5 +debug_level = 0 + +[domain/LOCAL] +id_provider = local +auth_provider = local +debug_level = 0 + +[domain/LDAP] +id_provider = ldap +auth_provider = ldap +debug_level = 0 + +[pam] +debug_level = 0 + +[dp] +debug_level = 0 + |