From 6493d39b6796a7997c078902e7dcf71493bf8d9c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 3 Dec 2021 12:40:43 -0800 Subject: [PATCH] s3: smbd: UCF_ALWAYS_ALLOW_WCARD_LCOMP 0x00000002 is no longer used. Hurrah ! Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/smbd/filename.c | 3 --- source3/smbd/smbd.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 601832fdb49..995547aecaa 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -473,9 +473,6 @@ Note NT_STATUS_OK doesn't mean the name exists or is valid, just that we didn't get any fatal errors that should immediately terminate the calling SMB processing whilst resolving. -If UCF_ALWAYS_ALLOW_WCARD_LCOMP is passed in, then a MS wildcard -should be allowed in the last component of the path only. - If the orig_path was a stream, smb_filename->base_name will point to the base filename, and smb_filename->stream_name will point to the stream name. If orig_path was not a stream, then smb_filename->stream_name will be NULL. diff --git a/source3/smbd/smbd.h b/source3/smbd/smbd.h index 84fcf033a71..88bff2830d9 100644 --- a/source3/smbd/smbd.h +++ b/source3/smbd/smbd.h @@ -61,7 +61,7 @@ struct trans_state { * unix_convert_flags */ /* UCF_SAVE_LCOMP 0x00000001 is no longer used. */ -#define UCF_ALWAYS_ALLOW_WCARD_LCOMP 0x00000002 +/* UCF_ALWAYS_ALLOW_WCARD_LCOMP 0x00000002 is no longer used. */ /* UCF_COND_ALLOW_WCARD_LCOMP 0x00000004 is no longer used. */ #define UCF_POSIX_PATHNAMES 0x00000008 /* #define UCF_UNIX_NAME_LOOKUP 0x00000010 is no longer used. */ -- 2.11.4.GIT