The Samba-Bugzilla – Attachment 12054 Details for
Bug 11438
case sensitivity issues over SMB2 or above
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
11438.patch (text/plain), 1.26 KB, created by
Christian Ambach
on 2016-05-01 12:40:02 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Christian Ambach
Created:
2016-05-01 12:40:02 UTC
Size:
1.26 KB
patch
obsolete
>From b0c538803f9c0a5de4fea0374b76f257a2ee9bd3 Mon Sep 17 00:00:00 2001 >From: Christian Ambach <ambi@samba.org> >Date: Sun, 3 Apr 2016 05:06:05 +0200 >Subject: [PATCH] s3:smbd/service disable case-sensitivity for SMB2/3 > connections > >in SMB2, there is no flag to let us know if the client wants to have case-sensitive behavior, >so in Auto mode, disable case-sensitivity > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=11438 >Signed-off-by: Christian Ambach <ambi@samba.org> >--- > source3/smbd/service.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/source3/smbd/service.c b/source3/smbd/service.c >index 2777a09..e4a910a 100644 >--- a/source3/smbd/service.c >+++ b/source3/smbd/service.c >@@ -212,7 +212,9 @@ bool set_current_service(connection_struct *conn, uint16_t flags, bool do_chdir) > { > /* We need this uglyness due to DOS/Win9x clients that lie about case insensitivity. */ > enum remote_arch_types ra_type = get_remote_arch(); >- if ((ra_type != RA_SAMBA) && (ra_type != RA_CIFSFS)) { >+ if (conn->sconn->using_smb2) { >+ conn->case_sensitive = false; >+ } else if ((ra_type != RA_SAMBA) && (ra_type != RA_CIFSFS)) { > /* Client can't support per-packet case sensitive pathnames. */ > conn->case_sensitive = False; > } else { >-- >1.9.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
Actions:
View
Attachments on
bug 11438
:
11333
|
11334
|
11336
|
11929
|
12054
|
12064