diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-10 10:07:04 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-10 17:20:27 -0500 |
commit | 16287c8da1a1b0d9a4d9265f1c2a412090fd3e24 (patch) | |
tree | 93015a638c19a3c71b39b83f5fc08bec06a0b1fa /server/config/testconfigs/sssd-invalid-badbool.conf | |
parent | 5321caf4ec3080556d0b4d83b6ce5a0101f6edba (diff) | |
download | sssd-16287c8da1a1b0d9a4d9265f1c2a412090fd3e24.tar.gz sssd-16287c8da1a1b0d9a4d9265f1c2a412090fd3e24.tar.bz2 sssd-16287c8da1a1b0d9a4d9265f1c2a412090fd3e24.zip |
Fix processing of Boolean values in SSSDConfig
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.
Diffstat (limited to 'server/config/testconfigs/sssd-invalid-badbool.conf')
-rw-r--r-- | server/config/testconfigs/sssd-invalid-badbool.conf | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/server/config/testconfigs/sssd-invalid-badbool.conf b/server/config/testconfigs/sssd-invalid-badbool.conf new file mode 100644 index 00000000..25c27f49 --- /dev/null +++ b/server/config/testconfigs/sssd-invalid-badbool.conf @@ -0,0 +1,43 @@ +[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 +ldap_id_use_start_tls = Fal +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 + |