samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r7798 - in branches/SAMBA_3_0/source/smbd: .

Subject: svn commit: samba r7798 - in branches/SAMBA_3_0/source/smbd: .
From:
Date: Tue, 21 Jun 2005 05:27:03 +0000 GMT
Author: jra
Date: 2005-06-21 05:27:02 +0000 (Tue, 21 Jun 2005)
New Revision: 7798

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

Log:
CIFSFS client assumes wcnt == 10 for successful trans2 reply.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/trans2.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/trans2.c     2005-06-21 05:18:13 UTC (rev 
7797)
+++ branches/SAMBA_3_0/source/smbd/trans2.c     2005-06-21 05:27:02 UTC (rev 
7798)
@@ -2479,7 +2479,6 @@
                                        (unsigned int)client_unix_cap_low,
                                        (unsigned int)client_unix_cap_high ));
 
-                               outsize = set_message(outbuf,0,0,True);
                                break;
                        }
                case SMB_FS_QUOTA_INFORMATION:
@@ -2538,14 +2537,6 @@
                                return ERROR_DOS(ERRSRV,ERRerror);
                        }
                        
-                       /* 
-                        * sending this reply works fine, 
-                        * but I'm not sure it's the same 
-                        * like windows do...
-                        * --metze
-                        */ 
-                       outsize = set_message(outbuf,10,0,True);
-
                        break;
                default:
                        DEBUG(3,("call_trans2setfsinfo: unknown level (0x%X) 
not implemented yet.\n",
@@ -2554,6 +2545,14 @@
                        break;
        }
 
+       /* 
+        * sending this reply works fine, 
+        * but I'm not sure it's the same 
+        * like windows do...
+        * --metze
+        */ 
+       outsize = set_message(outbuf,10,0,True);
+
        return outsize;
 }
 

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r7798 - in branches/SAMBA_3_0/source/smbd: ., jra <=