Win9x user level security.
[samba.git] / source3 / smbd / ipc.c
index 31ae8e6fc02a84db7ac29dbc3b07c238ec71f47a..c8c3b521944d66e06b0c02fe2a44fe48ca0a63f9 100644 (file)
@@ -187,9 +187,13 @@ static void send_trans_reply(char *outbuf,
 
        if (buffer_too_large)
        {
+#if 0
                /* 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);
+#endif
+               SCVAL(outbuf, smb_rcls, ERRDOS);
+               SSVAL(outbuf, smb_err, ERRmoredata);
        }
 
        copy_trans_params_and_data(outbuf, align,