aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_64.S
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2015-09-17 21:40:12 +0200
committerBen Hutchings <ben@decadent.org.uk>2015-10-13 03:46:11 +0100
commit90bba09cdcebaab898b4745ced9900d59eb14a48 (patch)
tree589087a94cba978af6690f44f4000c07c90248e5 /arch/x86/kernel/entry_64.S
parente35c94fa99e6bc40d9e32765333bc8329c111c81 (diff)
downloadkernel_samsung_smdk4412-90bba09cdcebaab898b4745ced9900d59eb14a48.zip
kernel_samsung_smdk4412-90bba09cdcebaab898b4745ced9900d59eb14a48.tar.gz
kernel_samsung_smdk4412-90bba09cdcebaab898b4745ced9900d59eb14a48.tar.bz2
cifs: use server timestamp for ntlmv2 authentication
commit 98ce94c8df762d413b3ecb849e2b966b21606d04 upstream. Linux cifs mount with ntlmssp against an Mac OS X (Yosemite 10.10.5) share fails in case the clocks differ more than +/-2h: digest-service: digest-request: od failed with 2 proto=ntlmv2 digest-service: digest-request: kdc failed with -1561745592 proto=ntlmv2 Fix this by (re-)using the given server timestamp for the ntlmv2 authentication (as Windows 7 does). A related problem was also reported earlier by Namjae Jaen (see below): Windows machine has extended security feature which refuse to allow authentication when there is time difference between server time and client time when ntlmv2 negotiation is used. This problem is prevalent in embedded enviornment where system time is set to default 1970. Modern servers send the server timestamp in the TargetInfo Av_Pair structure in the challenge message [see MS-NLMP 2.2.2.1] In [MS-NLMP 3.1.5.1.2] it is explicitly mentioned that the client must use the server provided timestamp if present OR current time if it is not Reported-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Steve French <smfrench@gmail.com> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
0 files changed, 0 insertions, 0 deletions