summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-01-07 09:40:45 +0000
committerJakub Hrozek <jhrozek@redhat.com>2015-01-26 23:29:17 +0100
commitb22e0da9e644f5eb84ee0c8986979fec3fe7eb56 (patch)
treea905720ef4a1ced0dafa367fba21db3905953a25 /src/config
parentfc2146c108e28d50bbf691925cedf9592142dd14 (diff)
downloadsssd-b22e0da9e644f5eb84ee0c8986979fec3fe7eb56.tar.gz
sssd-b22e0da9e644f5eb84ee0c8986979fec3fe7eb56.tar.xz
sssd-b22e0da9e644f5eb84ee0c8986979fec3fe7eb56.zip
AD: add new option ad_site
This option overrides a result of the automatic site discovery. Resolves: https://fedorahosted.org/sssd/ticket/2486 Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/SSSDConfig/__init__.py.in2
-rw-r--r--src/config/etc/sssd.api.d/sssd-ad.conf1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in
index 500bd717f..ae00a2b7f 100644
--- a/src/config/SSSDConfig/__init__.py.in
+++ b/src/config/SSSDConfig/__init__.py.in
@@ -188,6 +188,8 @@ option_strings = {
'ad_gpo_map_permit' : _('PAM service names for which GPO-based access is always granted'),
'ad_gpo_map_deny' : _('PAM service names for which GPO-based access is always denied'),
'ad_gpo_default_right' : _('Default logon right (or permit/deny) to use for unmapped PAM service names'),
+ 'ad_site' : _('a particular site to be used by the client'),
+
# [provider/krb5]
'krb5_kdcip' : _('Kerberos server address'),
'krb5_server' : _('Kerberos server address'),
diff --git a/src/config/etc/sssd.api.d/sssd-ad.conf b/src/config/etc/sssd.api.d/sssd-ad.conf
index 3496fb400..5a5ea0c36 100644
--- a/src/config/etc/sssd.api.d/sssd-ad.conf
+++ b/src/config/etc/sssd.api.d/sssd-ad.conf
@@ -16,6 +16,7 @@ ad_gpo_map_service = str, None, false
ad_gpo_map_permit = str, None, false
ad_gpo_map_deny = str, None, false
ad_gpo_default_right = str, None, false
+ad_site = str, None, false
ldap_uri = str, None, false
ldap_backup_uri = str, None, false
ldap_search_base = str, None, false