kdc: use astgs_request_t for client/server name (TGS)

Store the client and server principal name from the TGT and request
(respectively) in the astgs_request_t rather than using local variables.
This commit is contained in:
Luke Howard
2022-01-10 12:50:37 +11:00
parent 2520c30b28
commit 40e4a4df09
4 changed files with 34 additions and 52 deletions

View File

@@ -152,7 +152,7 @@ audit(void *ctx, astgs_request_t r)
}
static krb5plugin_kdc_ftable kdc_plugin = {
KRB5_PLUGIN_KDC_VERSION_8,
KRB5_PLUGIN_KDC_VERSION_9,
init,
fini,
pac_generate,