kdc: add enable_fast option (enabled by default)

This makes it possible to disable fast if needed,
which is very good for regression tests.
Samba disables this in a few test environments with this
option.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15002
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15005

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Stefan Metzmacher
2022-03-08 16:11:39 +01:00
committed by Luke Howard
parent 348a03e48e
commit c4216b17a8
5 changed files with 18 additions and 0 deletions

View File

@@ -756,6 +756,9 @@ _kdc_fast_unwrap_request(astgs_request_t r,
const PA_DATA *pa;
int i = 0;
if (!r->config->enable_fast)
return 0;
ret = fast_unwrap_request(r, tgs_ticket, tgs_ac);
if (ret)
return ret;