summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorJohn Hodrien <J.H.Hodrien@leeds.ac.uk>2011-07-29 10:04:05 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-07-29 10:13:26 -0400
commit1dc99c9d468cfe2a7f7286a8969c586f8740bb9f (patch)
tree5bde5191ec2a67eea5e62ccda694ae2fafc812a5 /src/config
parent336879aabae137f9a81304f147fb0d43001654b0 (diff)
downloadsssd-1dc99c9d468cfe2a7f7286a8969c586f8740bb9f.tar.gz
sssd-1dc99c9d468cfe2a7f7286a8969c586f8740bb9f.tar.xz
sssd-1dc99c9d468cfe2a7f7286a8969c586f8740bb9f.zip
Add vetoed_shells option
There may be users in LDAP that have a valid but unwelcome shell set in their account. This adds a blacklist of shells that should always be replaced by the fallback_shell. Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'src/config')
-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 16d3d3573..53bd14f0d 100644
--- a/src/config/SSSDConfig.py
+++ b/src/config/SSSDConfig.py
@@ -60,6 +60,7 @@ option_strings = {
'pwfield' : _('The value of the password field the NSS provider should return'),
'override_homedir' : _('Override homedir value from the identity provider with this value'),
'allowed_shells' : _('The list of shells users are allowed to log in with'),
+ 'vetoed_shells' : _('The list of shells that will be vetoed, and replaced with the fallback shell'),
'shell_fallback' : _('If a shell stored in central directory is allowed but not available, use this fallback'),
# [pam]