cifs: set domainName when a domain-key is used in multiuser
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 21 Aug 2019 22:09:50 +0000 (08:09 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Sep 2019 05:17:03 +0000 (07:17 +0200)
commit325fa2a6729b74b2806b31725940cb54658515e5
tree9a49252b6705ab1ab1e5d436749edac7ab5b62b2
parent9a74f799b99c7aaad8304c33733f4e02c8c7890d
cifs: set domainName when a domain-key is used in multiuser

[ Upstream commit f2aee329a68f5a907bcff11a109dfe17c0b41aeb ]

RHBZ: 1710429

When we use a domain-key to authenticate using multiuser we must also set
the domainnmame for the new volume as it will be used and passed to the server
in the NTLMSSP Domain-name.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/connect.c