summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-12 05:25:22 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-12 05:25:22 +0000
commit60c04512a0af1656447eeb489452a13adbbd91d4 (patch)
tree32fdd7693248277636cb7b3623e763f510b1c9c3 /source3
parentbb3e54f867f76cff1bf2e4b13ee6d68719c28cfb (diff)
downloadsamba-60c04512a0af1656447eeb489452a13adbbd91d4.tar.gz
samba-60c04512a0af1656447eeb489452a13adbbd91d4.tar.bz2
samba-60c04512a0af1656447eeb489452a13adbbd91d4.zip
fixed error code for buffer_too_large in trans reply
(This used to be commit a0a556a36b8ad0f14f97a1b7ccc5d429bf8f950e)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 30ac8932aa..a8c1502e94 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -104,7 +104,7 @@ void send_trans_reply(char *outbuf,
{
/* issue a buffer size warning. on a DCE/RPC pipe, expect an SMBreadX... */
SIVAL(outbuf, smb_flg2, FLAGS2_32_BIT_ERROR_CODES);
- SIVAL(outbuf, smb_rcls, 0x80000000 | NT_STATUS_ACCESS_VIOLATION);
+ SIVAL(outbuf, smb_rcls, 0x80000000 | STATUS_BUFFER_OVERFLOW);
}
copy_trans_params_and_data(outbuf, align,