From 7d0c90f7aa0fa1e03610f754ab73c6d41d7e2087 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 16 Jun 2010 14:01:05 -0400 Subject: 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. --- src/config/testconfigs/sssd-valid.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/config/testconfigs/sssd-valid.conf') 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 -- cgit