The Samba-Bugzilla – Attachment 17751 Details for
Bug 15302
log flood: smbd_calculate_access_mask_fsp: Access denied: message level should be lower
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for the issue changing DBG_ERR to DBG_DEBUG
s3-smbd-open.c-smbd_calculate_access_mask_fsp-lower-.patch (text/plain), 1.29 KB, created by
Michael Tokarev
on 2023-02-07 21:04:16 UTC
(
hide
)
Description:
Patch for the issue changing DBG_ERR to DBG_DEBUG
Filename:
MIME Type:
Creator:
Michael Tokarev
Created:
2023-02-07 21:04:16 UTC
Size:
1.29 KB
patch
obsolete
>From d1cfe6d143c5d6776cfa55efcd643c139b3a165f Mon Sep 17 00:00:00 2001 >From: Michael Tokarev <mjt@tls.msk.ru> >Date: Wed, 8 Feb 2023 00:02:44 +0300 >Subject: [PATCH] s3/smbd/open.c:smbd_calculate_access_mask_fsp: lower > "rejected by share acces" message from ERR to DEBUG > >Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> >--- > source3/smbd/open.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > >diff --git a/source3/smbd/open.c b/source3/smbd/open.c >index c24c55d6a76..73a087f94c3 100644 >--- a/source3/smbd/open.c >+++ b/source3/smbd/open.c >@@ -3389,13 +3389,13 @@ NTSTATUS smbd_calculate_access_mask_fsp(struct files_struct *dirfsp, > rejected_share_access = access_mask & ~(fsp->conn->share_access); > > if (rejected_share_access) { >- DBG_ERR("Access denied on file %s: " >- "rejected by share access mask[0x%08X] " >- "orig[0x%08X] mapped[0x%08X] reject[0x%08X]\n", >- fsp_str_dbg(fsp), >- fsp->conn->share_access, >- orig_access_mask, access_mask, >- rejected_share_access); >+ DBG_DEBUG("Access denied on file %s: " >+ "rejected by share access mask[0x%08X] " >+ "orig[0x%08X] mapped[0x%08X] reject[0x%08X]\n", >+ fsp_str_dbg(fsp), >+ fsp->conn->share_access, >+ orig_access_mask, access_mask, >+ rejected_share_access); > return NT_STATUS_ACCESS_DENIED; > } > >-- >2.30.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 15302
:
17751
|
17757