svn commit: samba r4146 - in branches/SAMBA_4_0/source/smb_server: .

tridge at samba.org tridge at samba.org
Sat Dec 11 04:11:26 GMT 2004


Author: tridge
Date: 2004-12-11 04:11:26 +0000 (Sat, 11 Dec 2004)
New Revision: 4146

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4146

Log:
an attempted fix for a OS/2 rename problem found by kukks - seems OS/2
is v senstive to SMB flags2 bits


Modified:
   branches/SAMBA_4_0/source/smb_server/request.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/request.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/request.c	2004-12-11 03:39:09 UTC (rev 4145)
+++ branches/SAMBA_4_0/source/smb_server/request.c	2004-12-11 04:11:26 UTC (rev 4146)
@@ -126,8 +126,10 @@
 		return;
 	}
 
-	flags2 = FLAGS2_LONG_PATH_COMPONENTS | FLAGS2_EXTENDED_SECURITY;
-	flags2 |= (req->flags2 & FLAGS2_UNICODE_STRINGS);
+	flags2 = FLAGS2_LONG_PATH_COMPONENTS | 
+		FLAGS2_EXTENDED_ATTRIBUTES | 
+		FLAGS2_IS_LONG_NAME;
+	flags2 |= (req->flags2 & (FLAGS2_UNICODE_STRINGS|FLAGS2_EXTENDED_SECURITY));
 	if (req->smb_conn->negotiate.client_caps & CAP_STATUS32) {
 		flags2 |= FLAGS2_32_BIT_ERROR_CODES;
 	}



More information about the samba-cvs mailing list