The Samba-Bugzilla – Attachment 5794 Details for
Bug 7517
session setup from linux kernel cifs client fails with sec=ntlmv2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v3-5-test patch
v3-5-test.patch (text/plain), 1.10 KB, created by
Guenther Deschner
on 2010-06-16 08:56:41 UTC
(
hide
)
Description:
v3-5-test patch
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2010-06-16 08:56:41 UTC
Size:
1.10 KB
patch
obsolete
>From 1cda12396364d0556f471e8da4dbc322974fe89a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Wed, 16 Jun 2010 14:18:45 +0200 >Subject: [PATCH] s3-auth: in make_user_info_for_reply_enc make sure to check length and data > pointer of nt and lm hash. > >This fixes kernel cifs client with sec=ntlmv2. > >Guenther >(cherry picked from commit b4364add896d1657263a66c55d867d28bf5ceb1b) >--- > source3/auth/auth_util.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c >index 8167a80..3fa7224 100644 >--- a/source3/auth/auth_util.c >+++ b/source3/auth/auth_util.c >@@ -468,8 +468,8 @@ NTSTATUS make_user_info_for_reply_enc(auth_usersupplied_info **user_info, > return make_user_info_map(user_info, smb_name, > client_domain, > get_remote_machine_name(), >- lm_resp.data ? &lm_resp : NULL, >- nt_resp.data ? &nt_resp : NULL, >+ lm_resp.data && (lm_resp.length > 0) ? &lm_resp : NULL, >+ nt_resp.data && (nt_resp.length > 0) ? &nt_resp : NULL, > NULL, NULL, NULL, > True); > } >-- >1.6.6.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 7517
: 5794