summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/config/SSSDConfigTest.py12
-rw-r--r--server/config/etc/sssd.api.conf9
2 files changed, 16 insertions, 5 deletions
diff --git a/server/config/SSSDConfigTest.py b/server/config/SSSDConfigTest.py
index d3e452618..d59c260f5 100644
--- a/server/config/SSSDConfigTest.py
+++ b/server/config/SSSDConfigTest.py
@@ -491,11 +491,13 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
domain = SSSDConfig.SSSDDomain('sssd', self.schema)
control_provider_dict = {
- 'ipa': ('id', 'auth', 'access', 'chpass'),
- 'local': ('id', 'auth', 'access', 'chpass'),
- 'ldap': ('id', 'auth', 'chpass'),
- 'krb5': ('auth', 'access', 'chpass'),
- 'proxy': ('id', 'auth')}
+ 'ipa': ['id', 'auth', 'access', 'chpass'],
+ 'local': ['id', 'auth', 'access', 'chpass'],
+ 'ldap': ['id', 'auth', 'chpass'],
+ 'krb5': ['auth', 'access', 'chpass'],
+ 'proxy': ['id', 'auth'],
+ 'permit': ['access'],
+ 'deny': ['access']}
providers = domain.list_providers()
diff --git a/server/config/etc/sssd.api.conf b/server/config/etc/sssd.api.conf
index 91b38b638..8e37b98c7 100644
--- a/server/config/etc/sssd.api.conf
+++ b/server/config/etc/sssd.api.conf
@@ -52,3 +52,12 @@ store_legacy_passwords = bool, None, false
use_fully_qualified_names = bool, None, false
entry_cache_timeout = int, None
+# Special providers
+[provider/permit]
+
+[provider/permit/access]
+
+[provider/deny]
+
+[provider/deny/access]
+