diff options
author | Pali Rohár <pali@kernel.org> | 2024-10-27 14:13:12 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-04-01 09:54:17 +0300 |
commit | 7d14dd683b1b00451fecfdfc86d2d6539bd8a21e (patch) | |
tree | 508465835c3d751e51aa418c634cc4c02eca5fda /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | b1a37df6ba2f13be341130b9fe10649ef6a42e9a (diff) | |
download | linux-7d14dd683b1b00451fecfdfc86d2d6539bd8a21e.tar.xz |
cifs: Allow to disable or force initialization of NetBIOS session
Currently SMB client always tries to initialize NetBIOS session when the
server port is 139. This is useful for default cases, but nowadays when
using non-standard routing or testing between VMs, it is common that
servers are listening on non-standard ports.
So add a new mount option -o nbsessinit and -o nonbsessinit which either
forces initialization or disables initialization regardless of server port
number.
This allows Linux SMB client to connect to older SMB1 server listening on
non-standard port, which requires initialization of NetBIOS session, by
using additional mount options -o port= and -o nbsessinit.
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions