summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv.h
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-08 10:29:19 -0400
commitbe82c8f75f195e8415d0afd29265504068792d39 (patch)
tree67e8914c91480fb1319b405ded8cb0225bcd8649 /src/responder/nss/nsssrv.h
parentb0c10eb7a9aff9063af106cc704ca1260f4024ac (diff)
downloadsssd-2ef0ca98614d44b954c107262e26ad5ae0116990.tar.gz
sssd-2ef0ca98614d44b954c107262e26ad5ae0116990.tar.xz
sssd-2ef0ca98614d44b954c107262e26ad5ae0116990.zip
Add vetoed_shells optionsssd-1.5.1-47.el6
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> Prevent segfault if vetoed_shells are specified without allowed_shells https://fedorahosted.org/sssd/ticket/954
Diffstat (limited to 'src/responder/nss/nsssrv.h')
-rw-r--r--src/responder/nss/nsssrv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv.h b/src/responder/nss/nsssrv.h
index f9aff5669..01a2810cd 100644
--- a/src/responder/nss/nsssrv.h
+++ b/src/responder/nss/nsssrv.h
@@ -60,6 +60,7 @@ struct nss_ctx {
char *override_homedir;
char **allowed_shells;
+ char **vetoed_shells;
char **etc_shells;
char *shell_fallback;
};