summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsfs.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2022-01-19 22:00:29 -0600
committerSteve French <stfrench@microsoft.com>2022-01-19 23:14:15 -0600
commit52d005337b2c94ab37273d9ad8382d4fb051defd (patch)
tree1bd4946b9069abb0083c15b24600fa749df56320 /fs/cifs/cifsfs.h
parent70431bfd825d9cd5d93412c0456f253ecad6c415 (diff)
smb3: send NTLMSSP version information
For improved debugging it can be helpful to send version information as other clients do during NTLMSSP negotiation. See protocol document MS-NLMP section 2.2.1.1 Set the major and minor versions based on the kernel version, and the BuildNumber based on the internal cifs.ko module version number, and following the recommendation in the protocol documentation (MS-NLMP section 2.2.10) we set the NTLMRevisionCurrent field to 15. Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsfs.h')
-rw-r--r--fs/cifs/cifsfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.h b/fs/cifs/cifsfs.h
index 9e5d9e192ef0..7c6f8180df69 100644
--- a/fs/cifs/cifsfs.h
+++ b/fs/cifs/cifsfs.h
@@ -152,5 +152,6 @@ extern struct dentry *cifs_smb3_do_mount(struct file_system_type *fs_type,
extern const struct export_operations cifs_export_ops;
#endif /* CONFIG_CIFS_NFSD_EXPORT */
+#define SMB3_PRODUCT_BUILD 34
#define CIFS_VERSION "2.34"
#endif /* _CIFSFS_H */