Bug 14469 - samba process PANICs when running as Domain Controller
Summary: samba process PANICs when running as Domain Controller
Status: RESOLVED DUPLICATE of bug 14468
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.12.6
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-20 13:31 UTC by William Ross
Modified: 2020-12-13 11:20 UTC (History)
0 users

See Also:


Attachments
Sample PANIC (10.93 KB, text/plain)
2020-08-20 13:31 UTC, William Ross
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Ross 2020-08-20 13:31:50 UTC
Created attachment 16178 [details]
Sample PANIC

We are receiving the following PANIC on our samba domain controllers:

smb_panic_default: PANIC (pid 2024536): Bad talloc magic value - unknown value

Please see attached file for log excerpt which includes the full backtrace.

This has been occurring for over a year, but has increased in frequency to the point where it is causing us operational problems. My guess as to the reason for the increase in frequency is increased load on the domain controllers owing to additional staff. The DC which exhibits the issue most often is running at our hub site, has the most users and the additional load of RADIUS wireless authentication for all sites and an on site IIS server also authenticating users at all sites.

The PANIC is at present occurring approximately once per day, though it sometimes becomes more frequent up to every five minutes for about an hour.

Machines attempting to authenticate when the PANIC occurs do not appear to realize the process they were talking to has died, and take a few minutes to restart the authentication.

The issue has presented itself on:
* CentOS 6.10 with samba 4.10.10 compiled from source
* CentOS 8.1 with samba 4.12.5 and samba 4.9.18 both compiled from source
* Ubuntu 20.04.1 with samba 4.11.6 from the Ubuntu repositories and samba 4.12.6 from the apt.van-belle.nl repository

When compiling from source the following configure line is used:

./configure --with-ads --with-shared-modules=idmap_ad

Environment
-----------
Six samba domain controllers, one at each physical site. All are ESXi 6.0 virtual machines. Three are currently running CentOS 6.10, two Centos 7.7. Those five are all running samba 4.10.10 compiled from source.
There are no Windows domain controllers though there are Windows 2012 R2 domain members.
(The logs of four of those six DCs currently contain the panic, the two which do not are one of the original CentOS 6 and one of the CentOS 7 VMs, though it may have occurred there but rotated out of the logs).
Comment 1 William Ross 2020-12-13 11:20:32 UTC

*** This bug has been marked as a duplicate of bug 14468 ***