summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-28 10:49:32 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 18:07:04 +0200
commit33c865412732554ef255e93c4e7a58b0bce963c6 (patch)
tree07f4d57d5e02984d69e148d76cad73ed0a6308e3 /src/config
parenta6cca9c284724fafd670a3163812f248ba53ad97 (diff)
downloadsssd-33c865412732554ef255e93c4e7a58b0bce963c6.tar.gz
sssd-33c865412732554ef255e93c4e7a58b0bce963c6.tar.xz
sssd-33c865412732554ef255e93c4e7a58b0bce963c6.zip
Add a new option to control subdomain enumeration
Diffstat (limited to 'src/config')
-rw-r--r--src/config/SSSDConfig/__init__.py.in1
-rwxr-xr-xsrc/config/SSSDConfigTest.py2
-rw-r--r--src/config/etc/sssd.api.conf1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in
index 1bc4f1bf..f073419e 100644
--- a/src/config/SSSDConfig/__init__.py.in
+++ b/src/config/SSSDConfig/__init__.py.in
@@ -133,6 +133,7 @@ option_strings = {
'dyndns_update_ptr' : _("Whether the provider should explicitly update the PTR record as well"),
'dyndns_force_tcp' : _("Whether the nsupdate utility should default to using TCP"),
'dyndns_auth' : _("What kind of authentication should be used to perform the DNS update"),
+ 'subdomain_enumerate' : _('Control enumeration of trusted domains'),
# [provider/ipa]
'ipa_domain' : _('IPA domain'),
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index ca344ad4..acec3e6f 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -516,6 +516,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'dyndns_update_ptr',
'dyndns_force_tcp',
'dyndns_auth',
+ 'subdomain_enumerate',
'override_gid',
'case_sensitive',
'override_homedir',
@@ -870,6 +871,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'dyndns_update_ptr',
'dyndns_force_tcp',
'dyndns_auth',
+ 'subdomain_enumerate',
'override_gid',
'case_sensitive',
'override_homedir',
diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf
index 5c095c18..4b8e97ba 100644
--- a/src/config/etc/sssd.api.conf
+++ b/src/config/etc/sssd.api.conf
@@ -94,6 +94,7 @@ max_id = int, None, false
timeout = int, None, false
try_inotify = bool, None, false
enumerate = bool, None, false
+subdomain_enumerate = str, None, false
force_timeout = int, None, false
cache_credentials = bool, None, false
store_legacy_passwords = bool, None, false