smb: client: parse av pair type 4 in CHALLENGE_MESSAGE
authorPaulo Alcantara <pc@manguebit.com>
Fri, 3 Jan 2025 19:52:25 +0000 (16:52 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 20 Jan 2025 01:33:59 +0000 (19:33 -0600)
commit0e8ae9b953bc2c12aebd21e1e552e5deb1a0ff1e
tree2b90e683166ebf5c664f888377364e8b9ea5d5b6
parent62eecd8aac6c880a4a09ccb5d890949f2a09a730
smb: client: parse av pair type 4 in CHALLENGE_MESSAGE

Parse FQDN of the domain in CHALLENGE_MESSAGE message as it's gonna be
useful when mounting DFS shares against old Windows Servers (2012 R2
or earlier) that return not fully qualified hostnames for DFS targets
by default.

Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsencrypt.c
fs/smb/client/cifsglob.h
fs/smb/client/misc.c