summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-06-21 05:27:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:21 -0500
commitbf28978a70b9abbfb09b44325c712d110b590a33 (patch)
treef51c61e15b21213b28334905c9c117dea4a2d4ce /source3
parentea41eedc20a9fbd19e69f0de6e9b1bd32b0e7a57 (diff)
downloadsamba-bf28978a70b9abbfb09b44325c712d110b590a33.tar.gz
samba-bf28978a70b9abbfb09b44325c712d110b590a33.tar.bz2
samba-bf28978a70b9abbfb09b44325c712d110b590a33.zip
r7798: CIFSFS client assumes wcnt == 10 for successful trans2 reply.
Jeremy. (This used to be commit aea58e6bb60565430aec69598c47b2a8f4667e89)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index a504ce9010..cfe9a2fbdd 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2479,7 +2479,6 @@ cap_low = 0x%x, cap_high = 0x%x\n",
(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 @@ cap_low = 0x%x, cap_high = 0x%x\n",
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 @@ cap_low = 0x%x, cap_high = 0x%x\n",
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;
}