From 60c04512a0af1656447eeb489452a13adbbd91d4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 12 May 2000 05:25:22 +0000 Subject: fixed error code for buffer_too_large in trans reply (This used to be commit a0a556a36b8ad0f14f97a1b7ccc5d429bf8f950e) --- source3/smbd/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit