The Samba-Bugzilla – Attachment 10168 Details for
Bug 10755
Retain case sensitivity of cifs client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.1.next and 4.0.next.
0001-samba-Retain-case-sensitivity-of-cifs-client.patch (text/plain), 1.68 KB, created by
Jeremy Allison
on 2014-08-01 18:41:34 UTC
(
hide
)
Description:
git-am fix for 4.1.next and 4.0.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2014-08-01 18:41:34 UTC
Size:
1.68 KB
patch
obsolete
>From 9dabf0476c1a64fb7cdfde67d7b6327bc2ab3fd7 Mon Sep 17 00:00:00 2001 >From: Shirish Pargaonkar <spargaonkar@suse.com> >Date: Sat, 26 Jul 2014 10:41:25 -0500 >Subject: [PATCH] samba: Retain case sensitivity of cifs client > >When a client supports extended security but server does not, >and that client, in Flags2 field of smb header indicates that > >- it supports extended security negotiation >- it does not support security signatures >- it does not require security signatures > >Samba server treats a client as a Vista client. > >That turns off case sensitivity and that is a problem for cifs vfs client. > >So include remote cifs client along with remote samba client >to not do so otherwise. > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=10755 > >Signed-off-by: Shirish Pargaonkar <spargaonkar@suse.com> >Reviewed-by: Jeremy Allison <jra@samba.org> >Reviewed-by: David Disseldorp <ddiss@samba.org> > >Autobuild-User(master): David Disseldorp <ddiss@samba.org> >Autobuild-Date(master): Fri Aug 1 16:11:43 CEST 2014 on sn-devel-104 > >(cherry picked from commit a0583976da2ba09da0fd94f739ed4f5851e2a858) >--- > source3/smbd/negprot.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c >index 315bd89..b1d93cd 100644 >--- a/source3/smbd/negprot.c >+++ b/source3/smbd/negprot.c >@@ -252,7 +252,8 @@ static void reply_nt1(struct smb_request *req, uint16 choice) > if ( (req->flags2 & FLAGS2_EXTENDED_SECURITY) && > ((req->flags2 & FLAGS2_SMB_SECURITY_SIGNATURES_REQUIRED) == 0) ) > { >- if (get_remote_arch() != RA_SAMBA) { >+ if ((get_remote_arch() != RA_SAMBA) && >+ (get_remote_arch() != RA_CIFSFS)) { > set_remote_arch( RA_VISTA ); > } > } >-- >2.0.0.526.g5318336 >
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:
jra
:
review?
(
ddiss
)
asn
:
review+
obnox
:
review+
Actions:
View
Attachments on
bug 10755
:
10164
| 10168