should use hide_client_names
This commit is contained in:

committed by
Love Hörnquist Åstrand

parent
242d7e1602
commit
b00f1ceeb9
@@ -861,10 +861,12 @@ _kdc_encode_reply(krb5_context context,
|
|||||||
/*
|
/*
|
||||||
* Hide client name of privacy reasons
|
* Hide client name of privacy reasons
|
||||||
*/
|
*/
|
||||||
|
if (1 /* r->fast_options.hide_client_names */) {
|
||||||
rep->crealm[0] = '\0';
|
rep->crealm[0] = '\0';
|
||||||
free_PrincipalName(&rep->cname);
|
free_PrincipalName(&rep->cname);
|
||||||
rep->cname.name_type = 0;
|
rep->cname.name_type = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(rep->msg_type == krb_as_rep && !config->encode_as_rep_as_tgs_rep)
|
if(rep->msg_type == krb_as_rep && !config->encode_as_rep_as_tgs_rep)
|
||||||
ASN1_MALLOC_ENCODE(EncASRepPart, buf, buf_size, ek, &len, ret);
|
ASN1_MALLOC_ENCODE(EncASRepPart, buf, buf_size, ek, &len, ret);
|
||||||
|
Reference in New Issue
Block a user