Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Samba SSSD

jkinningerMay 23 2018 — edited May 24 2018

I am migrating my systems from SUSE Linux 11sp4 to Oracle Linux 7.5. I was using Centrify with the SLES servers but with OL 7.5 want to use SSSD. I have everything working as far as seeing AD and being able to SSH as my AD user. I was using this as a guide to get Samba installed and to leverage AD for access to the shares via AD groups. From what I can tell everything is installed and configured properly but when I look at my Samba logs I see a core dump.

[2018/05/23 13:26:26.392054,  0] ../source3/lib/util.c:804(smb_panic_s3)

  PANIC (pid 11551): internal error

[2018/05/23 13:26:26.392610,  0] ../source3/lib/util.c:915(log_stack_trace)

  BACKTRACE: 37 stack frames:

   #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f62feea8a3a]

   #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f62feea8b10]

   #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f6300fa3eaf]

   #3 /lib64/libsamba-util.so.0(+0x250c6) [0x7f6300fa40c6]

   #4 /lib64/libpthread.so.0(+0xf680) [0x7f630140b680]

   #5 /usr/lib64/samba/libgse-samba4.so(+0x9530) [0x7f62f9302530]

   #6 /usr/lib64/samba/libgse-samba4.so(gse_krb5_get_server_keytab+0x87) [0x7f62f9302f07]

   #7 /usr/lib64/samba/libgse-samba4.so(+0xc1d8) [0x7f62f93051d8]

   #8 /usr/lib64/samba/libgensec-samba4.so(+0x19eba) [0x7f62f90e7eba]

   #9 /usr/lib64/samba/libgensec-samba4.so(gensec_start_mech_by_ops+0xc) [0x7f62f90e8cbc]

   #10 /usr/lib64/samba/libgensec-samba4.so(+0xac5c) [0x7f62f90d8c5c]

   #11 /usr/lib64/samba/libgensec-samba4.so(+0xc214) [0x7f62f90da214]

   #12 /usr/lib64/samba/libgensec-samba4.so(gensec_update_ev+0x7f) [0x7f62f90e76cf]

   #13 /usr/lib64/samba/libgensec-samba4.so(gensec_update+0x17) [0x7f62f90e77c7]

   #14 /usr/lib64/samba/libsmbd-base-samba4.so(negprot_spnego+0xa9) [0x7f6300b43f09]

   #15 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_process_negprot+0x2ca) [0x7f6300bbe30a]

   #16 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_dispatch+0x1bcc) [0x7f6300bbb09c]

   #17 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_process_negprot+0x370) [0x7f6300bbdac0]

   #18 /usr/lib64/samba/libsmbd-base-samba4.so(reply_negprot+0x72e) [0x7f6300b44e7e]

   #19 /usr/lib64/samba/libsmbd-base-samba4.so(+0x19ec90) [0x7f6300ba5c90]

   #20 /usr/lib64/samba/libsmbd-base-samba4.so(+0x1a0a30) [0x7f6300ba7a30]

   #21 /usr/lib64/samba/libsmbd-base-samba4.so(+0x1a2111) [0x7f6300ba9111]

   #22 /lib64/libtevent.so.0(+0xaf6b) [0x7f62fd8b3f6b]

   #23 /lib64/libtevent.so.0(+0x9337) [0x7f62fd8b2337]

   #24 /lib64/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f62fd8ae10d]

   #25 /lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f62fd8ae33b]

   #26 /lib64/libtevent.so.0(+0x92d7) [0x7f62fd8b22d7]

   #27 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_process+0x6e4) [0x7f6300baa444]

   #28 /usr/sbin/smbd(+0xd1d4) [0x557594f431d4]

   #29 /lib64/libtevent.so.0(+0xaf6b) [0x7f62fd8b3f6b]

   #30 /lib64/libtevent.so.0(+0x9337) [0x7f62fd8b2337]

   #31 /lib64/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f62fd8ae10d]

   #32 /lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f62fd8ae33b]

   #33 /lib64/libtevent.so.0(+0x92d7) [0x7f62fd8b22d7]

   #34 /usr/sbin/smbd(main+0x1afe) [0x557594f3e25e]

   #35 /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f62fd4fe3d5]

   #36 /usr/sbin/smbd(+0x8571) [0x557594f3e571]

[2018/05/23 13:26:26.392925,  0] ../source3/lib/dumpcore.c:315(dump_core)

  dumping core in /var/log/samba/cores/smbd

I am not able to make a connection to my samba share.

My smb.conf file looks like this:

[global]

        workgroup = WS.WSFGRP.NET

        server string = Samba Server Version %v

        # Add the IPs / subnets allowed acces to the server in general.

        # The following allows local and 10.0.*.* access

        #hosts allow = 127. 10.0.

        # log files split per-machine:

        log file = /var/log/samba/log.%m

        # enable the following line to debug:

        # log level =3

        # maximum size of 50KB per log file, then rotate:

        max log size = 50

        # Here comes the juicy part!

        security = ads

        encrypt passwords = yes

        passdb backend = tdbsam

        realm = WS.WSFGRP.NET

        # Not interested in printers

        load printers = no

        cups options = raw

        # This stops an annoying message from appearing in logs

        printcap name = /dev/null

[splunkdata]

        comment = splunkdata

        path = /opt/splunkdata

        valid users = @ "telsplunkl1t-share-splunkdata-full@WS.WSFGRP.NET"

        force user = splunk

        force group = splunk

        writable = yes

I systemctl restart smb and try again and still get the core dump. What am I missing?

This post has been answered by jkinninger on May 24 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2018
Added on May 23 2018
2 comments
512 views