[CIFS] Warn on requesting default security (ntlm) on mount
authorSteve French <sfrench@us.ibm.com>
Tue, 12 Apr 2011 01:24:57 +0000 (01:24 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 12 Apr 2011 01:27:45 +0000 (01:27 +0000)
commitd9b942013730c38ac83564d6669c6d0ecf6d754d
tree91dad22a8b0a6a39216a4d016e2822e70ae5edad
parentfd88ce9313e9f9d3b56eada7fc76a301828baefd
[CIFS] Warn on requesting default security (ntlm) on mount

Warn once if default security (ntlm) requested. We will
update the default to the stronger security mechanism
(ntlmv2) in 2.6.41.  Kerberos is also stronger than
ntlm, but more servers support ntlmv2 and ntlmv2
does not require an upcall, so ntlmv2 is a better
default.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
CC: Suresh Jayaraman <sjayaraman@suse.de>
Reviewed-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c