summaryrefslogtreecommitdiff
path: root/fs/cifs/fs_context.h
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2021-11-05 19:03:57 +0000
committerSteve French <stfrench@microsoft.com>2021-11-08 13:07:56 -0600
commit49bd49f983b5026e4557d31c5d737d9657c4113e (patch)
treea1305c508d4ccb71dbccc954ed99adb0003058db /fs/cifs/fs_context.h
parentc9f1c19cf7c50949885fa5afdb2cb242d61a7fac (diff)
cifs: send workstation name during ntlmssp session setup
During the ntlmssp session setup (authenticate phases) send the client workstation info. This can make debugging easier on servers. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/fs_context.h')
-rw-r--r--fs/cifs/fs_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/fs_context.h b/fs/cifs/fs_context.h
index b2d22cf9cb18..e54090d9ef36 100644
--- a/fs/cifs/fs_context.h
+++ b/fs/cifs/fs_context.h
@@ -170,6 +170,7 @@ struct smb3_fs_context {
char *server_hostname;
char *UNC;
char *nodename;
+ char *workstation_name;
char *iocharset; /* local code page for mapping to and from Unicode */
char source_rfc1001_name[RFC1001_NAME_LEN_WITH_NULL]; /* clnt nb name */
char target_rfc1001_name[RFC1001_NAME_LEN_WITH_NULL]; /* srvr nb name */