r14644: fix SMBecho, used by w2k clients, failing this,
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Mar 2006 14:58:34 +0000 (14:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:59:04 +0000 (13:59 -0500)
causes an SMBulogoffX and SMBtdis

jelmer: I think this should go into TP2

metze
(This used to be commit 94d775c74d611e950bb5502bfe7f7c4015c6f772)

source4/smb_server/smb/reply.c

index 65976fd38574a10e59b7cf2db410584995e12f6c..cfd004304ad347a33beb84a41c30ab3d1b2472cf 100644 (file)
@@ -1247,7 +1247,7 @@ void smbsrv_reply_echo(struct smbsrv_request *req)
        uint16_t count;
        int i;
 
-       SMBSRV_CHECK_WCT(req, 0);
+       SMBSRV_CHECK_WCT(req, 1);
 
        count = SVAL(req->in.vwv, VWV(0));