[SCM] Samba Shared Repository - branch master updated
David Disseldorp
ddiss at samba.org
Fri Aug 1 08:12:04 MDT 2014
The branch, master has been updated
via a058397 samba: Retain case sensitivity of cifs client
from c01ee46 winbindd-irpc: Ensure not to call irpc_send_reply twice on error
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit a0583976da2ba09da0fd94f739ed4f5851e2a858
Author: Shirish Pargaonkar <spargaonkar at suse.com>
Date: Sat Jul 26 10:41:25 2014 -0500
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 at suse.com>
Reviewed-by: Jeremy Allison <jra at samba.org>
Reviewed-by: David Disseldorp <ddiss at samba.org>
Autobuild-User(master): David Disseldorp <ddiss at samba.org>
Autobuild-Date(master): Fri Aug 1 16:11:43 CEST 2014 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/negprot.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 4cd12d8..225fe39 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -262,7 +262,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 );
}
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list