kdc-plugin: also pass astgs_request_t to the pac related functions

This is more consistent and allows the pac hooks to be more flexible.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Stefan Metzmacher
2022-02-24 18:27:09 +01:00
committed by Luke Howard
parent 419610aa14
commit 11d8a053f5
6 changed files with 24 additions and 31 deletions

View File

@@ -870,7 +870,7 @@ _kdc_fast_check_armor_pac(astgs_request_t r)
if (ret)
goto out;
ret = _kdc_check_pac(r->context, r->config, armor_client_principal, NULL,
ret = _kdc_check_pac(r, armor_client_principal, NULL,
armor_client, r->armor_server,
r->armor_server, r->armor_server,
&r->armor_key->key, &r->armor_key->key,