cifs: allow sec=none mounts to work against servers that don't support extended security
authorJeff Layton <jlayton@redhat.com>
Fri, 24 May 2013 11:40:04 +0000 (07:40 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 24 May 2013 18:08:26 +0000 (13:08 -0500)
commit539673fff76af73c3aee96e0de10edcc97d84db3
tree4152d8e09ffca2213ed130362ea1ca64b2cf9a24
parent166faf21bd14bc5c5295a44874bf7f3930c30b20
cifs: allow sec=none mounts to work against servers that don't support extended security

In the case of sec=none, we're not sending a username or password, so
there's little benefit to mandating NTLMSSP auth. Allow it to use
unencapsulated auth in that case.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c