From: Ralph Boehme Date: Thu, 31 Oct 2019 17:44:25 +0000 (+0100) Subject: smbdotconf: mark "hide files" with substitution="1" X-Git-Tag: ldb-2.1.0~581 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86843529210e55c57327909e770259bcd8f656d2;p=thirdparty%2Fsamba.git smbdotconf: mark "hide files" with substitution="1" Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/docs-xml/smbdotconf/filename/hidefiles.xml b/docs-xml/smbdotconf/filename/hidefiles.xml index 0b475053ee1..d4e3da39ee6 100644 --- a/docs-xml/smbdotconf/filename/hidefiles.xml +++ b/docs-xml/smbdotconf/filename/hidefiles.xml @@ -1,6 +1,7 @@ This is a list of files or directories that are not diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 06a0f379a9f..4b574661256 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -826,7 +826,7 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn, set_namearray( &conn->veto_list, lp_veto_files(talloc_tos(), snum)); set_namearray( &conn->hide_list, - lp_hide_files(talloc_tos(), snum)); + lp_hide_files(talloc_tos(), lp_sub, snum)); set_namearray( &conn->veto_oplock_list, lp_veto_oplock_files(talloc_tos(), snum)); set_namearray( &conn->aio_write_behind_list,