The Samba-Bugzilla – Attachment 14787 Details for
Bug 13727
Netbios traffic on port 139 is still sent with nmbd disabled and 'disable netbios' set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.10
v4-10-netbios.patch (text/plain), 1.20 KB, created by
Andreas Schneider
on 2019-01-17 10:33:18 UTC
(
hide
)
Description:
patch for 4.10
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2019-01-17 10:33:18 UTC
Size:
1.20 KB
patch
obsolete
>From a2fd0037920b72cc6b3929bc4a36ec5a4d939447 Mon Sep 17 00:00:00 2001 >From: Justin Stephenson <jstephen@redhat.com> >Date: Mon, 14 Jan 2019 10:36:47 -0500 >Subject: [PATCH] s3:libsmb: Honor disable_netbios option in > smbsock_connect_send > >If disable_netbios is set, return before the tevent timer is triggered >to prevent outgoing netbios connections. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13727 > >Signed-off-by: Justin Stephenson <jstephen@redhat.com> >Reviewed-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> >(cherry picked from commit c324f84a2fa25e29d2f7879fbcd35ce0e76a78f8) >--- > source3/libsmb/smbsock_connect.c | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/source3/libsmb/smbsock_connect.c b/source3/libsmb/smbsock_connect.c >index bb3cb07646c..be52b9a4f79 100644 >--- a/source3/libsmb/smbsock_connect.c >+++ b/source3/libsmb/smbsock_connect.c >@@ -415,6 +415,13 @@ struct tevent_req *smbsock_connect_send(TALLOC_CTX *mem_ctx, > tevent_req_set_callback(state->req_445, smbsock_connect_connected, > req); > >+ /* >+ * Check for disable_netbios >+ */ >+ if (lp_disable_netbios()) { >+ return req; >+ } >+ > /* > * After 5 msecs, fire the 139 (NBT) request > */ >-- >2.20.1 >
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
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 13727
:
14759
|
14760
|
14763
|
14764
|
14777
|
14785
| 14787