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>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 11 04:03:07 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