1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

smbdotconf: mark "veto oplock files" with substitution="1"

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Ralph Boehme
2019-11-04 12:30:58 +01:00
committed by Stefan Metzmacher
parent 73082f938e
commit 18bd0c38f5
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<samba:parameter name="veto oplock files"
context="S"
type="string"
substitution="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>

View File

@ -828,7 +828,7 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn,
set_namearray( &conn->hide_list,
lp_hide_files(talloc_tos(), lp_sub, snum));
set_namearray( &conn->veto_oplock_list,
lp_veto_oplock_files(talloc_tos(), snum));
lp_veto_oplock_files(talloc_tos(), lp_sub, snum));
set_namearray( &conn->aio_write_behind_list,
lp_aio_write_behind(talloc_tos(), lp_sub, snum));
}