summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-06-18 11:23:04 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-06-18 14:37:59 -0400
commitbb79e7559dae451a14150377099e32d6b5159a6c (patch)
tree0410bbb6f6c50e1388c8a6e18e3812b36086d4e2 /src/config
parentdd94e9c9c586fb2c2a0e7175251c08c2762598b0 (diff)
downloadsssd-bb79e7559dae451a14150377099e32d6b5159a6c.tar.gz
sssd-bb79e7559dae451a14150377099e32d6b5159a6c.tar.bz2
sssd-bb79e7559dae451a14150377099e32d6b5159a6c.zip
Make the client idle timeout configurable
Diffstat (limited to 'src/config')
-rw-r--r--src/config/SSSDConfig/__init__.py.in1
-rwxr-xr-xsrc/config/SSSDConfigTest.py3
-rw-r--r--src/config/etc/sssd.api.conf1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in
index d7895b49..b90f505d 100644
--- a/src/config/SSSDConfig/__init__.py.in
+++ b/src/config/SSSDConfig/__init__.py.in
@@ -45,6 +45,7 @@ option_strings = {
'command' : _('Command to start service'),
'reconnection_retries' : _('Number of times to attempt connection to Data Providers'),
'fd_limit' : _('The number of file descriptors that may be opened by this responder'),
+ 'client_idle_timeout' : _('Idle time before automatic disconnection of a client'),
# [sssd]
'services' : _('SSSD Services to start'),
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index 1e1fe98e..ef696e98 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -274,7 +274,8 @@ class SSSDConfigTestSSSDService(unittest.TestCase):
'debug_to_files',
'command',
'reconnection_retries',
- 'fd_limit']
+ 'fd_limit',
+ 'client_idle_timeout']
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 e09a8bf0..c3d6fa81 100644
--- a/src/config/etc/sssd.api.conf
+++ b/src/config/etc/sssd.api.conf
@@ -10,6 +10,7 @@ debug_to_files = bool, None, false
command = str, None, false
reconnection_retries = int, None, false
fd_limit = int, None, false
+client_idle_timeout = int, None, false
[sssd]
# Monitor service