diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2017-03-22 12:53:17 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2017-03-30 14:09:02 +0200 |
commit | 6324eaf1fb321c41ca9883966118df6d45259b7e (patch) | |
tree | a6f7ec1250cb69a187824ecd7600e01507659343 /src/config | |
parent | 82843754193b177275ce16f2901edac2060a3998 (diff) | |
download | sssd-6324eaf1fb321c41ca9883966118df6d45259b7e.tar.gz sssd-6324eaf1fb321c41ca9883966118df6d45259b7e.tar.xz sssd-6324eaf1fb321c41ca9883966118df6d45259b7e.zip |
CONFDB: Introduce SSSD domain type to distinguish POSIX and application domains
Related to:
https://pagure.io/SSSD/sssd/issue/3310
Adds a new option that allows to distinguish domains that do contain
POSIX users and groups and those that don't. The POSIX domains are the
default. The non-POSIX domains are selected by selecting an
"application" type domain.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/SSSDConfig/__init__.py.in | 1 | ||||
-rwxr-xr-x | src/config/SSSDConfigTest.py | 2 | ||||
-rw-r--r-- | src/config/cfg_rules.ini | 1 | ||||
-rw-r--r-- | src/config/etc/sssd.api.conf | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in index 0edc3ea84..070994bcd 100644 --- a/src/config/SSSDConfig/__init__.py.in +++ b/src/config/SSSDConfig/__init__.py.in @@ -148,6 +148,7 @@ option_strings = { 'selinux_provider' : _('SELinux provider'), # [domain] + 'domain_type' : _('Whether the domain is usable by the OS or by applications'), 'min_id' : _('Minimum user ID'), 'max_id' : _('Maximum user ID'), 'enumerate' : _('Enable enumerating all users/groups'), diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py index 6899bf8ae..9b3175962 100755 --- a/src/config/SSSDConfigTest.py +++ b/src/config/SSSDConfigTest.py @@ -510,6 +510,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): 'debug', 'debug_level', 'debug_timestamps', + 'domain_type', 'min_id', 'max_id', 'timeout', @@ -878,6 +879,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): 'debug', 'debug_level', 'debug_timestamps', + 'domain_type', 'min_id', 'max_id', 'timeout', diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini index 41efcea55..3c857236e 100644 --- a/src/config/cfg_rules.ini +++ b/src/config/cfg_rules.ini @@ -311,6 +311,7 @@ option = subdomains_provider option = selinux_provider # Options available to all domains +option = domain_type option = min_id option = max_id option = timeout diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index 6965028e1..a38b24208 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -129,6 +129,7 @@ selinux_provider = str, None, false [domain] # Options available to all domains description = str, None, false +domain_type = str, None, false debug = int, None, false debug_level = int, None, false debug_timestamps = bool, None, false |