]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbdotconf: mark "veto oplock files" with substitution="1"
authorRalph Boehme <slow@samba.org>
Mon, 4 Nov 2019 11:30:58 +0000 (12:30 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Nov 2019 10:25:33 +0000 (10:25 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
docs-xml/smbdotconf/filename/vetooplockfiles.xml
source3/smbd/service.c

index dde3705a1c15e92502d3145e82a9acf77185ff7f..8d6a9224953ee65560ca89f4f4ab8371e79b6bbc 100644 (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>
index 54979f77ffbfc6243a8dbe75b2e69c20132ed87b..a1a2b97c1f3efda820bc1989c09b9a76bb4cba44 100644 (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));
        }