summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-02-03 22:35:14 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-02-07 00:26:57 +0100
commit74505b09d056883741e90cac45838c844365cae5 (patch)
tree429b7994fbdac96ea5867405b14738b9552cc5df /src/config
parentaf5a58fc3811af8521721f731d8234d983042cea (diff)
downloadsssd-74505b09d056883741e90cac45838c844365cae5.tar.gz
sssd-74505b09d056883741e90cac45838c844365cae5.tar.xz
sssd-74505b09d056883741e90cac45838c844365cae5.zip
DP: Add host info handler
Diffstat (limited to 'src/config')
-rw-r--r--src/config/SSSDConfig.py1
-rwxr-xr-xsrc/config/SSSDConfigTest.py6
-rw-r--r--src/config/etc/sssd.api.conf1
3 files changed, 6 insertions, 2 deletions
diff --git a/src/config/SSSDConfig.py b/src/config/SSSDConfig.py
index 71769f577..50cc4e295 100644
--- a/src/config/SSSDConfig.py
+++ b/src/config/SSSDConfig.py
@@ -88,6 +88,7 @@ option_strings = {
'sudo_provider' : _('SUDO provider'),
'autofs_provider' : _('Autofs provider'),
'session_provider' : _('Session-loading provider'),
+ 'hostid_provider' : _('Host identity provider'),
# [domain]
'min_id' : _('Minimum user ID'),
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index 186bf3649..bfc89a122 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -497,7 +497,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'chpass_provider',
'sudo_provider',
'autofs_provider',
- 'session_provider']
+ 'session_provider',
+ 'hostid_provider']
self.assertTrue(type(options) == dict,
"Options should be a dictionary")
@@ -823,7 +824,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'chpass_provider',
'sudo_provider',
'autofs_provider',
- 'session_provider']
+ 'session_provider',
+ 'hostid_provider']
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 ecc89dcfe..fa5cf8ba3 100644
--- a/src/config/etc/sssd.api.conf
+++ b/src/config/etc/sssd.api.conf
@@ -61,6 +61,7 @@ chpass_provider = str, None, false
sudo_provider = str, None, false
autofs_provider = str, None, false
session_provider = str, None, false
+hostid_provider = str, None, false
[domain]
# Options available to all domains