summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfig.py
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-02-17 12:14:39 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-06-22 15:37:42 -0400
commitdd60af1ca6f5887f12ff50532e2fde5f16c9d55b (patch)
treedb6a93b5abc53dad733174eaf188ada0cbc010d2 /src/config/SSSDConfig.py
parent41fbb0ef19bc4e6d336585a7d6ade968700ebd04 (diff)
downloadsssd_unused-dd60af1ca6f5887f12ff50532e2fde5f16c9d55b.tar.gz
sssd_unused-dd60af1ca6f5887f12ff50532e2fde5f16c9d55b.tar.xz
sssd_unused-dd60af1ca6f5887f12ff50532e2fde5f16c9d55b.zip
RESPONDERS: Make the fd_limit setting configurable
This code will now attempt first to see if it has privilege to set the value as specified, and if not it will fall back to the previous behavior. So on systems with the CAP_SYS_RESOURCE capability granted to SSSD, it will be able to ignore the limits.conf hard limit. https://fedorahosted.org/sssd/ticket/1197 Conflicts: src/config/SSSDConfig.py src/config/SSSDConfigTest.py src/config/etc/sssd.api.conf
Diffstat (limited to 'src/config/SSSDConfig.py')
-rw-r--r--src/config/SSSDConfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/SSSDConfig.py b/src/config/SSSDConfig.py
index df22d16d..a20ac972 100644
--- a/src/config/SSSDConfig.py
+++ b/src/config/SSSDConfig.py
@@ -43,6 +43,7 @@ option_strings = {
'command' : _('Command to start service'),
'reconnection_retries' : _('Number of times to attempt connection to Data Providers'),
'client_idle_timeout' : _('Idle time before automatic disconnection of a client'),
+ 'fd_limit' : _('The number of file descriptors that may be opened by this responder'),
# [sssd]
'services' : _('SSSD Services to start'),