]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: update the default global_secflags to include "raw" NTLMv2
authorJeff Layton <jlayton@redhat.com>
Sun, 26 May 2013 11:01:01 +0000 (07:01 -0400)
committerSteve French <smfrench@gmail.com>
Thu, 13 Jun 2013 00:55:59 +0000 (19:55 -0500)
commit29a98f22258f658e702dda8d3f074c257b5e704d
treeda921e8f6f424fe8f897ddbf8d1b84031213ee36
parent18bb43608cb5d1250a11a999d9c74e95d8ee18bb
cifs: update the default global_secflags to include "raw" NTLMv2

Before this patchset, the global_secflags could only offer up a single
sectype. With the new set though we have the ability to allow different
sectypes since we sort out the one to use after talking to the server.

Change the global_secflags to allow NTLMSSP or NTLMv2 by default. If the
server sets the extended security bit in the Negotiate response, then
we'll use NTLMSSP. If it doesn't then we'll use raw NTLMv2. Mounting a
LANMAN server will still require a sec= option by default.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h