diff options
author | John Hodrien <J.H.Hodrien@leeds.ac.uk> | 2011-07-29 10:04:05 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-08 10:29:19 -0400 |
commit | be82c8f75f195e8415d0afd29265504068792d39 (patch) | |
tree | 67e8914c91480fb1319b405ded8cb0225bcd8649 /src/responder/nss/nsssrv.h | |
parent | b0c10eb7a9aff9063af106cc704ca1260f4024ac (diff) | |
download | sssd_unused-be82c8f75f195e8415d0afd29265504068792d39.tar.gz sssd_unused-be82c8f75f195e8415d0afd29265504068792d39.tar.xz sssd_unused-be82c8f75f195e8415d0afd29265504068792d39.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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv.h b/src/responder/nss/nsssrv.h index f9aff566..01a2810c 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; }; |