mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
mit-kdc: Explicitly reject S4U requests
Signed-off-by: Isaac Boukris <iboukris@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Isaac Boukris <iboukris@samba.org> Autobuild-Date(master): Tue Mar 10 14:46:04 UTC 2020 on sn-devel-184
This commit is contained in:
parent
8b0c796f53
commit
0982980dc6
@ -334,6 +334,11 @@ krb5_error_code kdb_samba_db_sign_auth_data(krb5_context context,
|
|||||||
krbtgt_key = krbtgt_key == NULL ? local_krbtgt_key : krbtgt_key;
|
krbtgt_key = krbtgt_key == NULL ? local_krbtgt_key : krbtgt_key;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* FIXME: We don't support S4U yet */
|
||||||
|
if (flags & KRB5_KDB_FLAGS_S4U) {
|
||||||
|
return KRB5_KDB_DBTYPE_NOSUP;
|
||||||
|
}
|
||||||
|
|
||||||
is_as_req = ((flags & KRB5_KDB_FLAG_CLIENT_REFERRALS_ONLY) != 0);
|
is_as_req = ((flags & KRB5_KDB_FLAG_CLIENT_REFERRALS_ONLY) != 0);
|
||||||
|
|
||||||
if (is_as_req && (flags & KRB5_KDB_FLAG_INCLUDE_PAC)) {
|
if (is_as_req && (flags & KRB5_KDB_FLAG_INCLUDE_PAC)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user