mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
loadparm: Set default of "kernel share modes" to "no"
selftest: Remove knownfail for smb2.lock.replay_smb3_specification_durable With the changed default for "kernel share modes", this test can now acquire durable handles and succeed. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c2d6284a03
commit
54fe40836b
@ -2808,7 +2808,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
|
||||
|
||||
lpcfg_do_global_parameter(lp_ctx, "ldap page size", "1000");
|
||||
|
||||
lpcfg_do_global_parameter(lp_ctx, "kernel share modes", "yes");
|
||||
lpcfg_do_global_parameter(lp_ctx, "kernel share modes", "no");
|
||||
|
||||
lpcfg_do_global_parameter(lp_ctx, "strict locking", "Auto");
|
||||
|
||||
|
@ -215,7 +215,6 @@
|
||||
^samba3.smb2.session.*reauth5 # some special anonymous checks?
|
||||
^samba3.smb2.compound.interim2 # wrong return code (STATUS_CANCELLED)
|
||||
^samba3.smb2.compound.aio.interim2 # wrong return code (STATUS_CANCELLED)
|
||||
^samba3.smb2.lock.replay_smb3_specification_durable\(nt4_dc\) # Requires durable handles
|
||||
^samba3.smb2.lock.*replay_broken_windows # This tests the windows behaviour
|
||||
^samba3.smb2.lease.statopen3
|
||||
^samba3.smb2.lease.unlink # we currently do not downgrade RH lease to R after unlink
|
||||
|
@ -246,7 +246,7 @@ static const struct loadparm_service _sDefault =
|
||||
.map_readonly = MAP_READONLY_NO,
|
||||
.directory_name_cache_size = 100,
|
||||
.server_smb_encrypt = SMB_ENCRYPTION_DEFAULT,
|
||||
.kernel_share_modes = true,
|
||||
.kernel_share_modes = false,
|
||||
.durable_handles = true,
|
||||
.check_parent_directory_delete_on_close = false,
|
||||
.param_opt = NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user