diff options
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r-- | source3/smbd/nttrans.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index cfa048ba19..b03e0997a2 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -352,6 +352,9 @@ static void do_ntcreate_pipe_open(connection_struct *conn, reply_outbuf(req, 34, 0); } + SSVAL(req->outbuf, smb_vwv0, 0xff); /* andx chain ends */ + SSVAL(req->outbuf, smb_vwv1, 0); /* no andx offset */ + p = (char *)req->outbuf + smb_vwv2; p++; SSVAL(p,0,pnum); @@ -634,6 +637,9 @@ void reply_ntcreate_and_X(struct smb_request *req) reply_outbuf(req, 34, 0); } + SSVAL(req->outbuf, smb_vwv0, 0xff); /* andx chain ends */ + SSVAL(req->outbuf, smb_vwv1, 0); /* no andx offset */ + p = (char *)req->outbuf + smb_vwv2; SCVAL(p, 0, oplock_granted); |