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:14:17 +0000 (07:14 +0200)
commit16764d7486d02b1699ae16e91d7a577602398b17
tree34daef99d908eec68dd5673547667ea110a8b1a0
parent15c6f86c34aaf8996dbcea4662da6d6736f77577
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