summaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-10-27 14:10:52 +0300
committerSteve French <stfrench@microsoft.com>2025-03-26 22:51:50 +0300
commitbe786e509c1af9b2dcf25c3d601f05c8c251f482 (patch)
tree0e70fc3dbeef4385e69fceaa5d85d1f3060d200b /lib/test_fortify/write_overflow-strncpy.c
parent4e7f1644f2ac6d01dc584f6301c3b1d5aac4eaef (diff)
downloadlinux-be786e509c1af9b2dcf25c3d601f05c8c251f482.tar.xz
cifs: Set default Netbios RFC1001 server name to hostname in UNC
Windows SMB servers (including SMB2+) which are working over RFC1001 require that Netbios server name specified in RFC1001 Session Request packet is same as the UNC host name. Netbios server name can be already specified manually via -o servern= option. With this change the RFC1001 server name is set automatically by extracting the hostname from the mount source. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions