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:

committed by
Luke Howard

parent
348a03e48e
commit
c4216b17a8
@@ -101,6 +101,7 @@ krb5_kdc_get_config(krb5_context context, krb5_kdc_configuration **config)
|
||||
c->strict_nametypes = FALSE;
|
||||
c->trpolicy = TRPOLICY_ALWAYS_CHECK;
|
||||
c->require_pac = FALSE;
|
||||
c->enable_fast = TRUE;
|
||||
c->enable_armored_pa_enc_timestamp = TRUE;
|
||||
c->enable_unarmored_pa_enc_timestamp = TRUE;
|
||||
c->enable_pkinit = FALSE;
|
||||
@@ -262,6 +263,14 @@ krb5_kdc_get_config(krb5_context context, krb5_kdc_configuration **config)
|
||||
"require_pac",
|
||||
NULL);
|
||||
|
||||
c->enable_fast =
|
||||
krb5_config_get_bool_default(context,
|
||||
NULL,
|
||||
c->enable_fast,
|
||||
"kdc",
|
||||
"enable_fast",
|
||||
NULL);
|
||||
|
||||
c->enable_armored_pa_enc_timestamp =
|
||||
krb5_config_get_bool_default(context,
|
||||
NULL,
|
||||
|
Reference in New Issue
Block a user