summaryrefslogtreecommitdiff
path: root/src/config/testconfigs
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-06-16 14:01:05 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-06-16 16:22:50 -0400
commit7d0c90f7aa0fa1e03610f754ab73c6d41d7e2087 (patch)
tree5b16b730cb4cd5e3ad8fd98ce589f6c2e4236bc3 /src/config/testconfigs
parentf519b2ed74ca000b80c77dfccfe9a5caffb0010a (diff)
downloadsssd-7d0c90f7aa0fa1e03610f754ab73c6d41d7e2087.tar.gz
sssd-7d0c90f7aa0fa1e03610f754ab73c6d41d7e2087.tar.bz2
sssd-7d0c90f7aa0fa1e03610f754ab73c6d41d7e2087.zip
Handle (ignore) unknown options in get_domain() and get_service()
We will now eliminate any unknown options and providers to guarantee that the domain is safe for use.
Diffstat (limited to 'src/config/testconfigs')
-rw-r--r--src/config/testconfigs/sssd-valid.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/config/testconfigs/sssd-valid.conf b/src/config/testconfigs/sssd-valid.conf
index 3c2dda80..42eeb61c 100644
--- a/src/config/testconfigs/sssd-valid.conf
+++ b/src/config/testconfigs/sssd-valid.conf
@@ -36,8 +36,25 @@ id_provider = ldap
auth_provider=ldap
debug_level = 0
+# Domain containing an invalid provider
+[domain/INVALIDPROVIDER]
+ldap_id_use_start_tls = true
+id_provider = ldap
+auth_provider=ldap
+debug_level = 0
+chpass_provider = chpass
+
+# Domain containing an invalid option
+[domain/INVALIDOPTION]
+ldap_id_use_start_tls = true
+id_provider = ldap
+auth_provider=ldap
+debug_level = 0
+nosuchoption = True
+
[pam]
debug_level = 0
+nosuchoption = True
[dp]
debug_level = 0