kdc: don't announce KRB5_PADATA_GSS unless gss_preauth is enabled
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15273 Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:

committed by
Nico Williams

parent
eb388539ec
commit
df848bfd97
@@ -2312,6 +2312,8 @@ _kdc_as_rep(astgs_request_t r)
|
||||
}
|
||||
if (pat[n].type == KRB5_PADATA_FX_FAST && !r->config->enable_fast)
|
||||
continue;
|
||||
if (pat[n].type == KRB5_PADATA_GSS && !r->config->enable_gss_preauth)
|
||||
continue;
|
||||
|
||||
ret = krb5_padata_add(r->context, r->rep.padata,
|
||||
pat[n].type, NULL, 0);
|
||||
|
Reference in New Issue
Block a user