diff options
author | Jeremy Allison <jra@samba.org> | 2007-04-07 06:59:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:14 -0500 |
commit | 8710c0ddd2e689aa2191ad5083858b0fc4324bac (patch) | |
tree | cce5a1f788c09fd82cb0e8056accfbe66ec4a784 /source3 | |
parent | bd472a542acab7b16c0dd8e0b017b9dd6fc96ad2 (diff) | |
download | samba-8710c0ddd2e689aa2191ad5083858b0fc4324bac.tar.gz samba-8710c0ddd2e689aa2191ad5083858b0fc4324bac.tar.bz2 samba-8710c0ddd2e689aa2191ad5083858b0fc4324bac.zip |
r22124: Wow - NTCreateX sets the word count to 42, but returns 50 on
the wire. Strange.... But now we're returning Windows compatible
extended info. Next to fix the pipe returns and NTTrans Creates.
Jeremy.
(This used to be commit 57e46f2f80db153fc7ce0eb09f24afa78aa27349)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/nttrans.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 9094519b3e..0618a938e7 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -848,7 +848,13 @@ int reply_ntcreate_and_X(connection_struct *conn, } if (flags & EXTENDED_RESPONSE_REQUIRED) { - set_message(outbuf,42,0,True); + /* This is very strange. We + * return 50 words, but only set + * the wcnt to 42 ? It's definately + * what happens on the wire.... + */ + set_message(outbuf,50,0,True); + SCVAL(outbuf,smb_wct,42); } else { set_message(outbuf,34,0,True); } |