kdc: add finalize_reply API to windc plugin

Allow a windc plugin to finalize the KDC reply (including the encrypted ticket
and reply parts) before encoding for transmission.
This commit is contained in:
Luke Howard
2021-12-23 15:31:12 +11:00
committed by Nico Williams
parent 6b312659cb
commit e81bcb71f3
5 changed files with 49 additions and 2 deletions

View File

@@ -841,6 +841,10 @@ tgs_make_reply(astgs_request_t r,
}
}
ret = _kdc_finalize_reply(r);
if (ret)
goto out;
/* It is somewhat unclear where the etype in the following
encryption should come from. What we have is a session
key in the passed tgt, and a list of preferred etypes