mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
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>
This commit is contained in:
parent
166faf21bd
commit
539673fff7
@ -1061,6 +1061,7 @@ static int cifs_parse_security_flavors(char *value,
|
||||
#endif
|
||||
case Opt_sec_none:
|
||||
vol->nullauth = 1;
|
||||
vol->secFlg |= CIFSSEC_MAY_NTLM;
|
||||
break;
|
||||
default:
|
||||
cifs_dbg(VFS, "bad security option: %s\n", value);
|
||||
|
Loading…
Reference in New Issue
Block a user