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:
parent
69521c17bb
commit
ea36967c04
13
docs-xml/smbdotconf/misc/smbdsearchasksharemode.xml
Normal file
13
docs-xml/smbdotconf/misc/smbdsearchasksharemode.xml
Normal 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>
|
@ -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"));
|
||||
|
||||
|
@ -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 = ""
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user