[Samba] PANIC in the logs

Andrea Cucciarre' acucciarre at cloudian.com
Mon Feb 22 17:02:12 UTC 2021


Hello,

I have removed the "server role" entry but I still have the same PANIC 
logs on winbindd startup.
However  eventually it starts up successfully, so it's not very clear 
why that panics are occurring.
I'am already running the latest Samba release available on ubuntu 20.04.
Any idea why that panics occurs?

Regards
Andrea Cucciarre'


On 2/18/2021 6:11 PM, Rowland penny via samba wrote:
> On 18/02/2021 16:58, Andrea Cucciarre' via samba wrote:
>> Hello,
>>
>> I am running samba Version 4.11.6-Ubuntu as a Domain Member, I have 
>> used the step outlined in the following links to install:
>>
>> https://wiki.samba.org/index.php/Distribution-specific_Package_Installation 
>>
>>
>> and I have successfully joined it to an AD Domain
>>
>> I have noticed the following PANIC messages in the logs, is that 
>> something to worry about?
>
>
> You should always worry about Samba crashing or panicking
>
>>
>> [2021/02/18 16:19:29.475973,  3] 
>> ../../source3/winbindd/winbindd_util.c:295(add_trusted_domain)
>>   add_trusted_domain: Added domain [BUILTIN] [(null)] [S-1-5-32]
>> [2021/02/18 16:19:29.483578,  3] 
>> ../../source3/winbindd/winbindd_util.c:295(add_trusted_domain)
>>   add_trusted_domain: Added domain [HF-ANDREA-2-334] [(null)] 
>> [S-1-5-21-1420973400-2726068461-2848185591]
>> [2021/02/18 16:19:29.492179,  3] 
>> ../../source3/winbindd/winbindd_util.c:295(add_trusted_domain)
>>   add_trusted_domain: Added domain [HF4] [HF4.LOCAL] 
>> [S-1-5-21-2512033921-2951786130-3794972812]
>> [2021/02/18 16:19:29.502351,  0] ../../lib/util/fault.c:79(fault_report)
>> ===============================================================
>> [2021/02/18 16:19:29.502846,  0] ../../lib/util/fault.c:80(fault_report)
>>   INTERNAL ERROR: Signal 7 in pid 227 (4.11.6-Ubuntu)
>>   If you are running a recent Samba version, and if you think this 
>> problem is not yet fixed in the latest versions, please consider 
>> reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
>> [2021/02/18 16:19:29.503247,  0] ../../lib/util/fault.c:86(fault_report)
>> ===============================================================
>> [2021/02/18 16:19:29.503482,  0] 
>> ../../source3/lib/util.c:823(smb_panic_s3)
>>   PANIC (pid 227): internal error
>> [2021/02/18 16:19:29.504663,  0] 
>> ../../lib/util/fault.c:264(log_stack_trace)
>>   BACKTRACE: 19 stack frames:
>>    #0 /lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x34) 
>> [0x7fa2abb26154]
>>    #1 /lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x1f) 
>> [0x7fa2aba47b2f]
>>    #2 /lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x33) 
>> [0x7fa2abb26253]
>>    #3 /lib/x86_64-linux-gnu/libsamba-util.so.0(+0x194b1) 
>> [0x7fa2abb264b1]
>>    #4 /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7fa2ab19c3c0]
>>    #5 /lib/x86_64-linux-gnu/libc.so.6(+0x18e70e) [0x7fa2ab10c70e]
>>    #6 /lib/x86_64-linux-gnu/libtdb.so.1(+0xa9df) [0x7fa2ab40a9df]
>>    #7 /lib/x86_64-linux-gnu/libtdb.so.1(+0xb25e) [0x7fa2ab40b25e]
>>    #8 /lib/x86_64-linux-gnu/libtdb.so.1(+0x9fd3) [0x7fa2ab409fd3]
>>    #9 /lib/x86_64-linux-gnu/libtdb.so.1(+0xb119) [0x7fa2ab40b119]
>>    #10 /lib/x86_64-linux-gnu/libtdb.so.1(+0x9e32) [0x7fa2ab409e32]
>>    #11 /lib/x86_64-linux-gnu/libtdb.so.1(+0xa281) [0x7fa2ab40a281]
>>    #12 /lib/x86_64-linux-gnu/libtdb.so.1(+0x65f9) [0x7fa2ab4065f9]
>>    #13 /lib/x86_64-linux-gnu/libtdb.so.1(tdb_append+0xa3) 
>> [0x7fa2ab406ca3]
>>    #14 
>> /usr/lib/x86_64-linux-gnu/samba/libserver-id-db.so.0(server_id_db_add+0x140) 
>> [0x7fa2aac50890]
>>    #15 
>> /usr/lib/x86_64-linux-gnu/samba/libMESSAGING.so.0(irpc_add_name+0x11) 
>> [0x7fa2abaae6b1]
>>    #16 /usr/sbin/winbindd(main+0xd14) [0x55cdbf73db04]
>>    #17 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) 
>> [0x7fa2aafa50b3]
>>    #18 /usr/sbin/winbindd(_start+0x2e) [0x55cdbf73e1ae]
>> [2021/02/18 16:19:29.507165,  0] 
>> ../../source3/lib/dumpcore.c:317(dump_core)
>>   coredump is handled by helper binary specified at 
>> /proc/sys/kernel/core_pattern[2021/02/18 16:19:30.822480,  3] 
>> ../../source3/param/loadparm.c:3873(lp_load_ex)
>>   lp_load_ex: refreshing parameters
>>
>> My smb.conf is the following:
>>
>> [global]
>>
>> security = ads
>> realm = HF4.LOCAL
>> workgroup = HF4
>> netbios name = hf-andrea-2-334
>> log file = /hyperfile/gluster-cache/logs/winbindd/2/log.%I
>> idmap config * : backend = tdb
>> idmap config * : range = 3000-7999
>> idmap config HF4 : backend = rid
>> idmap config HF4 : range = 10000-999999
>> log level = 5
>> max log size = 10000
>> winbind refresh tickets = Yes
>> winbind offline logon = true
>> vfs objects = acl_xattr
>> map acl inherit = Yes
>> store dos attributes = Yes
>> dedicated keytab file = /etc/krb5.keytab
>> kerberos method = secrets and keytab
>> client signing = yes
>> client use spnego = yes
>> template shell = /bin/bash
>> template homedir = /home/%U
>> logging = file
>> server role = standalone server
>> map to guest = bad user
>> usershare allow guests = no
>
>
> Try removing the 'server role' line, this may be overriding 'security 
> = ads', this may fix your problem, but it shouldn't panic.
>
> Can I also suggest you upgrade Samba.
>
> Rowland
>
>
>
>




More information about the samba mailing list