This matches the AD DC with the behaviour in smbd.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13454
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 11 04:03:07 CEST 2018 on sn-devel-144
(cherry picked from commit
462eb4a44cc51dc17aebbcd5c609c9ff7f088554)
Autobuild-User(v4-7-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-7-test): Mon Jun 4 14:20:17 CEST 2018 on sn-devel-144
{
DBG_ERR("PANIC (pid %llu): %s\n",
(unsigned long long)getpid(), why);
+ log_stack_trace();
#if defined(HAVE_PRCTL) && defined(PR_SET_PTRACER)
/*
smb_panic_default(why);
}
-
-
/*******************************************************************
Print a backtrace of the stack to the debug log. This function
DELIBERATELY LEAKS MEMORY. The expectation is that you should