The Samba-Bugzilla – Attachment 16540 Details for
Bug 14670
Print source IP in log message about denied access to shares
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Small patch to add client ipv4 to share denied access message
smbd_share_connect_host_info.patch (text/plain), 988 bytes, created by
Peter Eriksson
on 2021-03-13 12:53:38 UTC
(
hide
)
Description:
Small patch to add client ipv4 to share denied access message
Filename:
MIME Type:
Creator:
Peter Eriksson
Created:
2021-03-13 12:53:38 UTC
Size:
988 bytes
patch
obsolete
>--- samba-4.14.0/source3/smbd/service.c 2021-01-21 14:20:40.000000000 +0100 >+++ samba-4.14.0-liu/source3/smbd/service.c 2021-03-11 09:46:44.480926000 +0100 >@@ -353,7 +353,10 @@ > if (!lp_guest_ok(snum)) { > DBG_WARNING("guest user (from session setup) " > "not permitted to access this share " >- "(%s)\n", lp_const_servicename(snum)); >+ "(%s) [from %s]\n", >+ lp_const_servicename(snum), >+ tsocket_address_string(sconn->remote_address, talloc_tos()) >+ ); > return NT_STATUS_ACCESS_DENIED; > } > } else { >@@ -362,9 +365,11 @@ > session_info->security_token, snum)) { > DBG_WARNING("user '%s' (from session setup) not " > "permitted to access this share " >- "(%s)\n", >+ "(%s) [from %s]\n", > session_info->unix_info->unix_name, >- lp_const_servicename(snum)); >+ lp_const_servicename(snum), >+ tsocket_address_string(sconn->remote_address, talloc_tos()) >+ ); > return NT_STATUS_ACCESS_DENIED; > } > }
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 14670
: 16540