diff options
author | Stefan Metzmacher <metze@samba.org> | 2022-03-09 12:39:07 +0100 |
---|---|---|
committer | Jule Anger <janger@samba.org> | 2022-03-14 14:27:13 +0000 |
commit | 9aa78f15fd6f4796657246d09dab883a717de6f6 (patch) | |
tree | 2fe9e1f853532ffb82822b79c8f3b81fc3c271a3 | |
parent | 2aa95f782037be279b093df5b3f9cbe4f1c44ab3 (diff) | |
download | samba-9aa78f15fd6f4796657246d09dab883a717de6f6.tar.gz |
docs-xml: add 'kdc enable fast' option
This will be useful to test against a KDC without FAST support
and find/prevent regressions.
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>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
(cherry picked from commit 12b623088cf48cf9e4a046441810ef20e1f079b8)
-rw-r--r-- | docs-xml/smbdotconf/security/kdcenablefast.xml | 15 | ||||
-rw-r--r-- | lib/param/loadparm.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 19 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/security/kdcenablefast.xml b/docs-xml/smbdotconf/security/kdcenablefast.xml new file mode 100644 index 00000000000..e47ca3b0bd4 --- /dev/null +++ b/docs-xml/smbdotconf/security/kdcenablefast.xml @@ -0,0 +1,15 @@ +<samba:parameter name="kdc enable fast" + type="boolean" + context="G" + xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> +<description> + <para>With the Samba 4.16 the embedded Heimdal KDC brings + support for RFC6113 FAST, which wasn't available in + older Samba versions.</para> + + <para>This option is mostly for testing and currently only applies + if the embedded Heimdal KDC is used.</para> +</description> + +<value type="default">yes</value> +</samba:parameter> diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index cae763b44ea..d6d845391e6 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -2695,6 +2695,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter(lp_ctx, "krb5 port", "88"); lpcfg_do_global_parameter(lp_ctx, "kpasswd port", "464"); + lpcfg_do_global_parameter(lp_ctx, "kdc enable fast", "True"); + lpcfg_do_global_parameter(lp_ctx, "nt status support", "True"); lpcfg_do_global_parameter(lp_ctx, "max wins ttl", "518400"); /* 6 days */ diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index a366870d1fe..21e061939e3 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -942,6 +942,8 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals) Globals.kpasswd_port = 464; + Globals.kdc_enable_fast = true; + Globals.aio_max_threads = 100; lpcfg_string_set(Globals.ctx, |