1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

docs-xml: add "smbd search ask sharemode"

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2018-11-30 20:24:10 +01:00 committed by Jeremy Allison
parent 69521c17bb
commit ea36967c04
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<samba:parameter name="smbd search ask sharemode"
context="S"
type="boolean"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>
This parameter allows disabling fetching file write time from the open
file handle database locking.tdb. It's a performance optimisation at
the expense of protocol correctness.
</para>
</description>
<value type="default">yes</value>
</samba:parameter>

View File

@ -2592,6 +2592,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lp_ctx->sDefault->force_directory_mode = 0000;
lp_ctx->sDefault->aio_read_size = 1;
lp_ctx->sDefault->aio_write_size = 1;
lp_ctx->sDefault->smbd_search_ask_sharemode = true;
DEBUG(3, ("Initialising global parameters\n"));

View File

@ -246,6 +246,7 @@ static const struct loadparm_service _sDefault =
.durable_handles = true,
.check_parent_directory_delete_on_close = false,
.param_opt = NULL,
.smbd_search_ask_sharemode = true,
.dummy = ""
};