diff options
author | Jeremy Allison <jra@samba.org> | 2001-11-15 01:18:10 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-11-15 01:18:10 +0000 |
commit | 5302dc12184481514e143f0b3cf4167c84a32ddd (patch) | |
tree | 2380819904b1dd99b680cf36f2c241de792dfc08 /source3/smbd | |
parent | 50005ee3adf3a3b657feeba218a543a61f5c20b6 (diff) | |
download | samba-5302dc12184481514e143f0b3cf4167c84a32ddd.tar.gz samba-5302dc12184481514e143f0b3cf4167c84a32ddd.tar.bz2 samba-5302dc12184481514e143f0b3cf4167c84a32ddd.zip |
Fix detection of RedHat 7.2.
Remove unused old file.
Test 42 byte reply to SMBntcreate (W2K does this).
Jeremy.
(This used to be commit a55a63a4ca55602ad9221af17c0bc8e185536433)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/nttrans.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 9abc85f938..ae18fc9a53 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -819,7 +819,12 @@ int reply_ntcreate_and_X(connection_struct *conn, if(oplock_request && EXCLUSIVE_OPLOCK_TYPE(fsp->oplock_type)) smb_action |= EXTENDED_OPLOCK_GRANTED; +#if 1 /* JRATEST */ + /* W2K sends back 42 words here ! */ + set_message(outbuf,42,0,True); +#else set_message(outbuf,34,0,True); +#endif p = outbuf + smb_vwv2; |