Hide client name of privacy reasons
This commit is contained in:

committed by
Love Hörnquist Åstrand

parent
65254713a2
commit
0332787e0f
@@ -481,6 +481,13 @@ _kdc_encode_reply(krb5_context context,
|
||||
data.data, data.length);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/*
|
||||
* Hide client name of privacy reasons
|
||||
*/
|
||||
rep->crealm[0] = '\0';
|
||||
free_PrincipalName(&rep->cname);
|
||||
rep->cname.name_type = 0;
|
||||
}
|
||||
|
||||
if(rep->msg_type == krb_as_rep && !config->encode_as_rep_as_tgs_rep)
|
||||
|
Reference in New Issue
Block a user