summaryrefslogtreecommitdiff
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
commita0a556a36b8ad0f14f97a1b7ccc5d429bf8f950e (patch)
treecd73ebb34c307f5a798eb57e168ef47129e0065d
parent6e81ba8bace4d966ab53d29c49782a81f669ba24 (diff)
downloadsamba-a0a556a36b8ad0f14f97a1b7ccc5d429bf8f950e.tar.gz
fixed error code for buffer_too_large in trans reply
-rw-r--r--source/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c
index 30ac8932aa5..a8c1502e944 100644
--- a/source/smbd/ipc.c
+++ b/source/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,