summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2013-05-23 17:41:51 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-23 19:55:43 +0200
commit21d89c38f22bf3b0c013b72988484c73db6ccecb (patch)
tree4f5143249ef75455720be493fbaaef036b8ac0f4
parent7c100872c56b3bc0bd820e600fefbcfedf179283 (diff)
downloadsssd-21d89c38f22bf3b0c013b72988484c73db6ccecb.tar.gz
sssd-21d89c38f22bf3b0c013b72988484c73db6ccecb.tar.bz2
sssd-21d89c38f22bf3b0c013b72988484c73db6ccecb.zip
Add a domain config attribute for realmd
realmd needs to be able to tag various domains with basic info when it configures a domain.
-rwxr-xr-xsrc/config/SSSDConfigTest.py6
-rw-r--r--src/config/etc/sssd.api.conf1
-rw-r--r--src/man/sssd.conf.5.xml9
3 files changed, 14 insertions, 2 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index d0365c96..f44f903e 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -530,7 +530,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'autofs_provider',
'session_provider',
'hostid_provider',
- 'subdomains_provider']
+ 'subdomains_provider',
+ 'realmd_tags']
self.assertTrue(type(options) == dict,
"Options should be a dictionary")
@@ -880,7 +881,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'autofs_provider',
'session_provider',
'hostid_provider',
- 'subdomains_provider']
+ 'subdomains_provider',
+ 'realmd_tags']
self.assertTrue(type(options) == dict,
"Options should be a dictionary")
diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf
index 580aeaaa..0c21bf99 100644
--- a/src/config/etc/sssd.api.conf
+++ b/src/config/etc/sssd.api.conf
@@ -114,6 +114,7 @@ fallback_homedir = str, None, false
override_shell = str, None, false
default_shell = str, None, false
description = str, None, false
+realmd_tags = str, None, false
#Entry cache timeouts
entry_cache_user_timeout = int, None, false
diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml
index 99337fbb..b902964f 100644
--- a/src/man/sssd.conf.5.xml
+++ b/src/man/sssd.conf.5.xml
@@ -1663,6 +1663,15 @@ override_homedir = /home/%u
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>realmd_tags (string)</term>
+ <listitem>
+ <para>
+ Various tags stored by the realmd configuration service
+ for this domain.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>