summaryrefslogtreecommitdiff
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2022-02-01 18:20:34 +0900
committerSteve French <stfrench@microsoft.com>2022-02-04 00:12:22 -0600
commitf9929ef6a2a55f03aac61248c6a3a987b8546f2a (patch)
treec900eeeda7b0d52faa79dccbb495084b472b095a /fs/Kconfig
parentdeae24b0b13ff5f46022124fbfc2c72fc534bc6a (diff)
downloadlwn-f9929ef6a2a55f03aac61248c6a3a987b8546f2a.tar.gz
lwn-f9929ef6a2a55f03aac61248c6a3a987b8546f2a.zip
ksmbd: add support for key exchange
When mounting cifs client, can see the following warning message. CIFS: decode_ntlmssp_challenge: authentication has been weakened as server does not support key exchange To remove this warning message, Add support for key exchange feature to ksmbd. This patch decrypts 16-byte ciphertext value sent by the client using RC4 with session key. The decrypted value is the recovered secondary key that will use instead of the session key for signing and sealing. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 7a2b11c0b803..6c7dc1387beb 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -369,8 +369,8 @@ source "fs/ksmbd/Kconfig"
config SMBFS_COMMON
tristate
- default y if CIFS=y
- default m if CIFS=m
+ default y if CIFS=y || SMB_SERVER=y
+ default m if CIFS=m || SMB_SERVER=m
source "fs/coda/Kconfig"
source "fs/afs/Kconfig"