Ensure TGS req does not stomp out AP data

This commit is contained in:
John E. Rollinson 2017-01-29 09:39:40 +09:00
parent 832f6d34b4
commit 68e3f0d96a

View file

@ -164,9 +164,16 @@ event krb_tgs_request(c: connection, msg: KDC_Request) &priority=5
return;
local info: Info;
info$ts = network_time();
info$uid = c$uid;
info$id = c$id;
if ( !c?$krb )
{
info$ts = network_time();
info$uid = c$uid;
info$id = c$id;
}
else
info = c$krb;
info$request_type = "TGS";
info$service = msg$service_name;
if ( msg?$from ) info$from = msg$from;