From 0a172552ec16f3b84d127399551cad786da8fd9d Mon Sep 17 00:00:00 2001 From: Michal Židek Date: Mon, 11 Jul 2016 13:23:40 +0200 Subject: config: Fix user_attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://fedorahosted.org/sssd/ticket/3068 Option user_attributes is also available in NSS responder, but not in PAC responder. Reviewed-by: Lukáš Slebodník --- src/config/SSSDConfig/__init__.py.in | 1 + src/config/cfg_rules.ini | 2 +- src/config/etc/sssd.api.conf | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in index ebdd049e4..b5e078d01 100644 --- a/src/config/SSSDConfig/__init__.py.in +++ b/src/config/SSSDConfig/__init__.py.in @@ -82,6 +82,7 @@ option_strings = { 'shell_fallback' : _('If a shell stored in central directory is allowed but not available, use this fallback'), 'default_shell': _('Shell to use if the provider does not list one'), 'memcache_timeout': _('How long will be in-memory cache records valid'), + 'user_attributes': _('List of user attributes the NSS responder is allowed to publish'), # [pam] 'offline_credentials_expiration' : _('How long to allow cached logins between online logins (days)'), diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini index ae4a9af2c..85a15be34 100644 --- a/src/config/cfg_rules.ini +++ b/src/config/cfg_rules.ini @@ -58,6 +58,7 @@ option = description option = diag_cmd # Name service +option = user_attributes option = enum_cache_timeout option = entry_cache_nowait_percentage option = entry_negative_timeout @@ -192,7 +193,6 @@ option = diag_cmd # PAC responder option = allowed_uids -option = user_attributes option = pac_lifetime [rule/allowed_ifp_options] diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index df6bdeb39..2d7c5049f 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -50,6 +50,7 @@ shell_fallback = str, None, false default_shell = str, None, false get_domains_timeout = int, None, false memcache_timeout = int, None, false +user_attributes = str, None, false [pam] # Authentication service @@ -86,7 +87,6 @@ ca_db = str, None, false [pac] # PAC responder allowed_uids = str, None, false -user_attributes = str, None, false pac_lifetime = int, None, false [ifp] -- cgit