18058896 Need an option for Samba to ignore additional groups s11u2-sru
authorJiri Sasek <Jiri.Sasek@Oracle.COM>
Fri, 23 Jan 2015 08:31:23 -0800
branchs11u2-sru
changeset 3909 26fa7bfce987
parent 3908 857e6fd9d93d
child 3929 9602e2e0f066
18058896 Need an option for Samba to ignore additional groups
components/samba/samba/patches/nocoredump.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/samba/samba/patches/nocoredump.patch	Fri Jan 23 08:31:23 2015 -0800
@@ -0,0 +1,15 @@
+This is the in-house patch which changes the build option DUMP_CORE to prevent Samba
+to dump the core on internal error conditions (i.e. # of groups > NGROUP_MAX).
+...see the original comment which remains in code.
+
+--- a/source3/include/local.h	2014-06-22 23:03:27.000000000 -0700
++++ samba-3.6.24/source3/include/local.h	2014-10-29 10:00:48.268346403 -0700
[email protected]@ -142,7 +142,7 @@
+ /* do you want to dump core (carefully!) when an internal error is
+    encountered? Samba will be careful to make the core file only
+    accessible to root */
+-#define DUMP_CORE 1
++#define DUMP_CORE 0
+ 
+ /* shall we support browse requests via a FIFO to nmbd? */
+ #define ENABLE_FIFO 1