From 136abacbc9b5ab552c9488aac833fbadfa6ebd4c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 12 Jan 1999 02:24:40 +0000 Subject: Fixed biffer too small error to have 0xC0000000 OR'ed into it just to be the same as NT (seems to work without it but you never know...). Jeremy. --- source/smbd/nttrans.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c index 5cf76d7789c..e5c43223dcd 100644 --- a/source/smbd/nttrans.c +++ b/source/smbd/nttrans.c @@ -1590,7 +1590,8 @@ static int call_nt_transact_query_security_desc(connection_struct *conn, return(ERROR(ERRDOS,ERRnomem)); if(max_data_count < NO_NT_SEC_DESC_REPLY_SIZE) { - send_nt_replies(inbuf, outbuf, bufsize, NT_STATUS_BUFFER_TOO_SMALL, params, 4, *ppdata, 0); + send_nt_replies(inbuf, outbuf, bufsize, 0xC0000000|NT_STATUS_BUFFER_TOO_SMALL, + params, 4, *ppdata, 0); return -1; } -- cgit