summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-02-02 09:05:40 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-06 08:25:22 -0500
commit2d0550acbe07024d034fb616c1ec5b81929c4844 (patch)
tree9aac97e66e59313400936f52b0635f9e716896cd /src/config
parent16dff70ac66222e3b457790443cb283b1486e59e (diff)
downloadsssd-2d0550acbe07024d034fb616c1ec5b81929c4844.tar.gz
sssd-2d0550acbe07024d034fb616c1ec5b81929c4844.tar.bz2
sssd-2d0550acbe07024d034fb616c1ec5b81929c4844.zip
Add session target in data provider
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 c27bade9..00ce5b79 100644
--- a/src/config/SSSDConfig.py
+++ b/src/config/SSSDConfig.py
@@ -87,6 +87,7 @@ option_strings = {
'chpass_provider' : _('Password change provider'),
'sudo_provider' : _('SUDO provider'),
'autofs_provider' : _('Autofs provider'),
+ 'session_provider' : _('Session-loading provider'),
# [domain]
'min_id' : _('Minimum user ID'),
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index 2d6fa5ad..186bf364 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -496,7 +496,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'access_provider',
'chpass_provider',
'sudo_provider',
- 'autofs_provider' ]
+ 'autofs_provider',
+ 'session_provider']
self.assertTrue(type(options) == dict,
"Options should be a dictionary")
@@ -821,7 +822,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'access_provider',
'chpass_provider',
'sudo_provider',
- 'autofs_provider']
+ 'autofs_provider',
+ 'session_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 446bf950..ecc89dcf 100644
--- a/src/config/etc/sssd.api.conf
+++ b/src/config/etc/sssd.api.conf
@@ -60,6 +60,7 @@ access_provider = str, None, false
chpass_provider = str, None, false
sudo_provider = str, None, false
autofs_provider = str, None, false
+session_provider = str, None, false
[domain]
# Options available to all domains