fs/cifs: correctly to anonymous authentication for the NTLM(v1) authentication
authorStefan Metzmacher <metze@samba.org>
Tue, 3 May 2016 08:52:30 +0000 (10:52 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 6 Jun 2016 23:11:07 +0000 (19:11 -0400)
commit8da81561124032c2a0f6e92faa6916609eb9c12b
treeabb203c47f651aa0b64e7445487eb798e1a0d3fd
parent345a226f80c5ab28e848bbd30c9b83a7bbfc498e
fs/cifs: correctly to anonymous authentication for the NTLM(v1) authentication

[ Upstream commit 777f69b8d26bf35ade4a76b08f203c11e048365d ]

Only server which map unknown users to guest will allow
access using a non-null NTChallengeResponse.

For Samba it's the "map to guest = bad user" option.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11913

Signed-off-by: Stefan Metzmacher <metze@samba.org>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
fs/cifs/sess.c