summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfig.py
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-08-02 07:47:59 -0400
commit6daf03f2597d6a0177cac74dbfcdd502521cf2e2 (patch)
tree976c28b75f130262cf7804139410ebeb0346beff /src/config/SSSDConfig.py
parent7afe9f88aa7fb2f04d9ae5fbe6bed8890dfd5e9a (diff)
downloadsssd-6daf03f2597d6a0177cac74dbfcdd502521cf2e2.tar.gz
sssd-6daf03f2597d6a0177cac74dbfcdd502521cf2e2.tar.xz
sssd-6daf03f2597d6a0177cac74dbfcdd502521cf2e2.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/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 920a8a056..93a108ebd 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]