The Samba-Bugzilla – Attachment 15083 Details for
Bug 13902
JSON dsdbChange log messages split across multiple lines.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for master.
bug-13902.patch.txt (text/plain), 1.08 KB, created by
Gary Lockyer
on 2019-04-18 02:58:35 UTC
(
hide
)
Description:
Proposed patch for master.
Filename:
MIME Type:
Creator:
Gary Lockyer
Created:
2019-04-18 02:58:35 UTC
Size:
1.08 KB
patch
obsolete
>From 041c4149bbe86702386ecb6b492c0903d6b56880 Mon Sep 17 00:00:00 2001 >From: Gary Lockyer <gary@catalyst.net.nz> >Date: Thu, 18 Apr 2019 10:23:22 +1200 >Subject: [PATCH] lib util debug: Increase format buffer to 4KiB:wq > >Increase the debug line buffer to 4KiB, the existing size of 1KiB is too >small for dsdbChange JSON audit messages. These messages were then >split across multipe lines causing issues in log ingestion tools >expecting single line messages. > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=13902 > >Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> >--- > lib/util/debug.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/lib/util/debug.c b/lib/util/debug.c >index e6a1ba4f96f..23c78ae19c9 100644 >--- a/lib/util/debug.c >+++ b/lib/util/debug.c >@@ -44,7 +44,7 @@ > * format_bufr[FORMAT_BUFR_SIZE - 1] should always be reserved > * for a terminating null byte. > */ >-#define FORMAT_BUFR_SIZE 1024 >+#define FORMAT_BUFR_SIZE 4096 > > /* -------------------------------------------------------------------------- ** > * This module implements Samba's debugging utility. >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13902
:
15083
|
15084
|
15123
|
15124