summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-07-17 08:08:20 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-01 16:19:42 +0200
commit294e9a5521d327c5cdc49beeb9cb9e703b3134f1 (patch)
tree7f4ab43282eea5d9fdeb2b5cf8e9a3e90ec45436 /src/config
parent46118ee53dc0d25e449cd7e37e624a4c62b78ee2 (diff)
downloadsssd-294e9a5521d327c5cdc49beeb9cb9e703b3134f1.tar.gz
sssd-294e9a5521d327c5cdc49beeb9cb9e703b3134f1.tar.bz2
sssd-294e9a5521d327c5cdc49beeb9cb9e703b3134f1.zip
Primary server support: new option in AD provider
This patch adds support for new config option ad_backup_server. The description of this option's functionality is included in man page in one of previous patches.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/SSSDConfig/__init__.py.in1
-rw-r--r--src/config/etc/sssd.api.d/sssd-ad.conf1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in
index 6605e082..32613543 100644
--- a/src/config/SSSDConfig/__init__.py.in
+++ b/src/config/SSSDConfig/__init__.py.in
@@ -141,6 +141,7 @@ option_strings = {
# [provider/ad]
'ad_domain' : _('Active Directory domain'),
'ad_server' : _('Active Directory server address'),
+ 'ad_backup_server' : _('Active Directory backup server address'),
'ad_hostname' : _('Active Directory client hostname'),
# [provider/krb5]
diff --git a/src/config/etc/sssd.api.d/sssd-ad.conf b/src/config/etc/sssd.api.d/sssd-ad.conf
index 763ea0d4..0154e6aa 100644
--- a/src/config/etc/sssd.api.d/sssd-ad.conf
+++ b/src/config/etc/sssd.api.d/sssd-ad.conf
@@ -1,6 +1,7 @@
[provider/ad]
ad_domain = str, None, false
ad_server = str, None, false
+ad_backup_server = str, None, false
ad_hostname = str, None, false
ldap_uri = str, None, false
ldap_backup_uri = str, None, false