[Samba] Samba 4.7.1 Generating Core Dumps

Francis Mondia Francis.Mondia at endace.com
Mon Jun 25 04:58:47 UTC 2018


Hi,


We are having issues with our samba server running on CentOS 7. It's generating core dumps and dumping them in the / (root filesystem) directory in the form of core.##### where the # is a series of numbers.


Snippets of log files and some troubleshooting commands are below. Hope someone can have a look and see if I should file this as a bug, as there were similar posts in the samba bugzilla pages like this:


https://bugzilla.samba.org/show_bug.cgi?id=11976


Any help will be greatly appreciated.



Kind regards,

Francis




==============================================================================================



I get these in my /var/log/messages:

==

Jun 24 03:08:45 stor02 smbd[499]:  ===============================================================
Jun 24 03:08:45 stor02 smbd[499]: [2018/06/24 03:08:45.138907,  0, pid=499] ../lib/util/fault.c:79(fault_report)
Jun 24 03:08:45 stor02 smbd[499]:  INTERNAL ERROR: Signal 11 in pid 499 (4.7.1)
Jun 24 03:08:45 stor02 smbd[499]:  Please read the Trouble-Shooting section of the Samba HOWTO
Jun 24 03:08:45 stor02 smbd[499]: [2018/06/24 03:08:45.138990,  0, pid=499] ../lib/util/fault.c:81(fault_report)
Jun 24 03:08:45 stor02 smbd[499]:  ===============================================================
Jun 24 03:08:45 stor02 smbd[499]: [2018/06/24 03:08:45.139052,  0, pid=499] ../source3/lib/util.c:804(smb_panic_s3)
Jun 24 03:08:45 stor02 smbd[499]:  PANIC (pid 499): internal error
Jun 24 03:08:45 stor02 smbd[499]: [2018/06/24 03:08:45.140520,  0, pid=499] ../source3/lib/util.c:915(log_stack_trace)
Jun 24 03:08:45 stor02 smbd[499]:  BACKTRACE: 37 stack frames:
==



Upon login, I see this:

==
ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1529266266
==


When i execute the command, I get this:
==
id 0133d116424f8424cd476d4fb5bb3407716fe6c8
reason:         smbd killed by SIGABRT
time:           Fri 08 Jun 2018 17:02:55 NZST
cmdline:        /usr/sbin/smbd --foreground --no-process-group
package:        samba-4.7.1-6.el7
uid:            0 (root)
count:          362
Directory:      /var/spool/abrt/ccpp-2018-06-08-17:02:55-17985
==



Digging further, I ran the command the debugger for the generated dump file and i get this:

==

 gdb /usr/sbin/smbd /storage/coredumps/core.5097
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-110.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/smbd...Reading symbols from /usr/lib/debug/usr/sbin/smbd.debug...done.
done.
[New LWP 5097]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/smbd --foreground --no-process-group'.
Program terminated with signal 6, Aborted.
#0  0x00007fc224cc1277 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt full
#0  0x00007fc224cc1277 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 5097
        selftid = 5097
#1  0x00007fc224cc2968 in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x55b48e61f200, sa_sigaction = 0x55b48e61f200}, sa_mask = {__val = {94233971257935, 94233971257956, 94233971257856, 94233971257956, 0, 0, 0, 0, 0, 17854537884,
              140471875062464, 140471874551808, 0, 3904672795320136283, 94231918018560, 140471883769552}}, sa_flags = -1906359424, sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007fc22666714e in dump_core () at ../source3/lib/dumpcore.c:338
        called = true
        __FUNCTION__ = "dump_core"
#3  0x00007fc226657b77 in smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:827
        cmd = <optimized out>
        result = <optimized out>
        __FUNCTION__ = "smb_panic_s3"
#4  0x00007fc228752eaf in smb_panic (why=why at entry=0x7fc22879b1aa "internal error") at ../lib/util/fault.c:166
No locals.
#5  0x00007fc2287530c6 in fault_report (sig=<optimized out>) at ../lib/util/fault.c:83
        counter = 1
#6  sig_fault (sig=<optimized out>) at ../lib/util/fault.c:94
No locals.
#7  <signal handler called>
No locals.
#8  fill_mem_keytab_from_secrets (krbctx=krbctx at entry=0x55b48e613620, keytab=keytab at entry=0x55b48e610590) at ../source3/librpc/crypto/gse_krb5.c:186
        frame = 0x55b48e61f0b0
        ret = <optimized out>
        domain = 0x55b48e5e6dc0 "ENDACE"
        info = 0x0
        realm = 0x0
        ct = 0x0
        kt_cursor = 0x7fc217087e9d <k5_os_mutex_unlock+29>
        kt_entry = {magic = -1906184288, principal = 0x7fc21c853250 <krb5_mkt_resolve+192>, timestamp = -1906231776, vno = 21940, key = {magic = 0, enctype = 0, length = 481262496,
            contents = 0x55b48e61ef80 "\254\002"}}
        princ = 0x0
        status = <optimized out>
        __FUNCTION__ = "fill_mem_keytab_from_secrets"
        __func__ = "fill_mem_keytab_from_secrets"
#9  0x00007fc220ab1f07 in gse_krb5_get_server_keytab (krbctx=0x55b48e613620, keytab=0x55b48e610590) at ../source3/librpc/crypto/gse_krb5.c:560
        ret = 0
        ret1 = 0
        ret2 = 0
        __FUNCTION__ = "gse_krb5_get_server_keytab"
#10 0x00007fc220ab41d8 in gse_init_server (_gse_ctx=<synthetic pointer>, add_gss_c_flags=<optimized out>, do_seal=<optimized out>, do_sign=<optimized out>, mem_ctx=0x55b48e619930)
    at ../source3/librpc/crypto/gse.c:575
        ret = <optimized out>
        status = <optimized out>
        gss_maj = <optimized out>
        gss_min = 21940
#11 gensec_gse_server_start (gensec_security=0x55b48e619930) at ../source3/librpc/crypto/gse.c:803
        gse_ctx = <optimized out>
        nt_status = <optimized out>
        want_flags = <optimized out>
        do_sign = <optimized out>
        do_seal = <optimized out>
#12 0x00007fc220896eba in gensec_start_mech (gensec_security=0x55b48e619930) at ../auth/gensec/gensec_start.c:753
        status = <optimized out>
        gensec_security = 0x55b48e619930
#13 0x00007fc220897cbc in gensec_start_mech_by_ops (gensec_security=<optimized out>, ops=<optimized out>) at ../auth/gensec/gensec_start.c:774
No locals.
#14 0x00007fc220887c5c in gensec_spnego_create_negTokenInit (gensec_security=gensec_security at entry=0x55b48e5f4380, spnego_state=spnego_state at entry=0x55b48e610460, out_mem_ctx=out_mem_ctx at entry=0x55b48e6156c0,
---Type <return> to continue, or q <return> to quit---
    ev=ev at entry=0x55b48e614920, out=out at entry=0x55b48e6104c0, in=...) at ../auth/gensec/spnego.c:468
        spnego_out = {type = -1, negTokenInit = {mechTypes = 0x55b48e610370, reqFlags = {data = 0x80 <Address 0x80 out of bounds>, length = 140471707458339}, reqFlagsPadding = 0 '\000', mechToken = {
              data = 0x7ffcba8c556f "", length = 140723438245232}, mechListMIC = {data = 0x7fc21e396881 <asn1_peek_full_tag+81> "\204\300t\aD:t$\017t\024H\203\304H\270Z", length = 140471821547978},
            targetPrincipal = 0x0}, negTokenTarg = {negResult = SPNEGO_ACCEPT_COMPLETED, supportedMech = 0x0, responseToken = {data = 0x0, length = 0}, mechListMIC = {data = 0x1 <Address 0x1 out of bounds>,
              length = 140471821525470}}}
        send_mech_types = <optimized out>
        ok = <optimized out>
        i = 0
        nt_status = <optimized out>
        mechTypes = <optimized out>
        unwrapped_out = {data = 0x0, length = 0}
        all_sec = 0x55b48e5f0ff0
#15 0x00007fc220889214 in gensec_spnego_update_server (out=0x55b48e6104c0, in=..., ev=0x55b48e614920, out_mem_ctx=0x55b48e6156c0, gensec_security=0x55b48e5f4380) at ../auth/gensec/spnego.c:1120
        nt_status = <optimized out>
        spnego_state = 0x55b48e610460
        unwrapped_out = {data = 0x0, length = 0}
        spnego = {type = 0, negTokenInit = {mechTypes = 0x7fc225478466 <_talloc_zero+278>, reqFlags = {data = 0x1 <Address 0x1 out of bounds>, length = 140471821550524}, reqFlagsPadding = 64 '@', mechToken = {
              data = 0x55b48e614920 "PJa\216\264U", length = 94233971214624}, mechListMIC = {data = 0x7fc225061f6a <ev_set_close_on_exec+42> "\203\370\377\017\225\301\211\310[\303f.\017\037\204",
              length = 140471821538608}, targetPrincipal = 0x55b48e614920 "PJa\216\264U"}, negTokenTarg = {negResult = SPNEGO_ACCEPT_COMPLETED,
            supportedMech = 0x7fc22506312b <tevent_epoll_set_panic_fallback+27> "H\211X [\303\017\037D", responseToken = {data = 0x55b48e627840 "@}&%\302\177", length = 140471821538471}, mechListMIC = {
              data = 0x55b48e614920 "PJa\216\264U", length = 140471823662016}}}
        len = <optimized out>
        mech_list_mic = {data = 0x0, length = 0}
#16 gensec_spnego_update_send (mem_ctx=<optimized out>, ev=0x55b48e614920, gensec_security=0x55b48e5f4380, in=...) at ../auth/gensec/spnego.c:1380
        spnego_state = 0x55b48e610460
        req = 0x55b48e615530
        state = 0x55b48e6156c0
        status = <optimized out>
#17 0x00007fc2208966cf in gensec_update_ev (gensec_security=0x55b48e5f4380, out_mem_ctx=out_mem_ctx at entry=0x55b48e61d690, ev=0x55b48e614920, ev at entry=0x0, in=..., out=out at entry=0x7ffcba8c57d0)
    at ../auth/gensec/gensec.c:353
        status = {v = 0}
        ops = 0x7fc220aa5e80 <gensec_spnego_security_ops>
        frame = 0x55b48e610370
        subreq = 0x0
        ok = <optimized out>
#18 0x00007fc2208967c7 in gensec_update (gensec_security=<optimized out>, out_mem_ctx=out_mem_ctx at entry=0x55b48e61d690, in=..., out=out at entry=0x7ffcba8c57d0) at ../auth/gensec/gensec.c:396
No locals.
#19 0x00007fc2282f2f09 in negprot_spnego (ctx=ctx at entry=0x55b48e61d690, xconn=xconn at entry=0x55b48e5fa480) at ../source3/smbd/negprot.c:187
        blob = {data = 0x0, length = 0}
        blob_out = <optimized out>
        dos_name = "\270\233h&\004\000\000\000\037\373g&\302\177\000"
        unix_name = "\000\000a\216\264U\000\000\000\000\000\000\000\000\000\000\270\233h&\302\177\000\000\320pt(\302\177\000\000\340\325a\216\264U\000\000\000'ڀ\270_7!\300\325a\216\264U\000\000\067\017u(\302\177\000\000\000\375\000\000\000\000\000\000y\246\021\002\000\000\000\000\001\000\000\000\000\000\000\000\244\201", '\000' <repeats 22 times>, "U\b\000\000\000\000\000\000\000\020\000\000\000\000\000\000\060\333a\216\264U\000\000\206d-[\000\000\000\000\241\375\065\001\000\000\000\000\340\314&[\000\000\000\000\272~[1\000\000\000\000`._\216\264U\000\000\340\314&[\000\000\000\000\060\333a\216\264U\000\000`P\033(\302\177\000\000`"...
        status = <optimized out>
        gensec_security = 0x55b48e5f4380
        __FUNCTION__ = "negprot_spnego"
#20 0x00007fc22836d30a in smbd_smb2_request_process_negprot (req=req at entry=0x55b48e61d690) at ../source3/smbd/smb2_negprot.c:301
        xconn = 0x55b48e5fa480
        status = <optimized out>
        inbody = <optimized out>
        indyn = 0x55b48e61d9d4 "\377\002"
        outdyn = {data = 0x0, length = 140471874885469}
        negprot_spnego_blob = <optimized out>
        security_offset = <optimized out>
        security_buffer = <optimized out>
        expected_dyn_size = 2
        c = <optimized out>
        security_mode = <optimized out>
        dialect_count = 1
---Type <return> to continue, or q <return> to quit---
        in_security_mode = 0
        in_capabilities = 0
        in_guid_blob = {data = 0x55b48e61d9bc "", length = 16}
        in_guid = {time_low = 0, time_mid = 0, time_hi_and_version = 0, clock_seq = "\000", node = "\000\000\000\000\000"}
        in_c = {num_contexts = 0, contexts = 0x0}
        in_preauth = 0x0
        in_cipher = 0x0
        out_c = {num_contexts = 0, contexts = 0x0}
        out_negotiate_context_blob = {data = 0x0, length = 0}
        out_negotiate_context_offset = 0
        out_negotiate_context_count = 0
        dialect = 767
        capabilities = <optimized out>
        out_guid_blob = {data = 0x7fc22871e7c0 <smbd_smb2_table> "", length = 0}
        out_guid = {time_low = 0, time_mid = 0, time_hi_and_version = 0, clock_seq = "\020 ", node = "4(\302\177\000"}
        protocol = <optimized out>
        max_limit = <optimized out>
        max_trans = <optimized out>
        max_read = <optimized out>
        max_write = <optimized out>
        now = 131742515223210910
        signing_required = true
        ok = <optimized out>
        __FUNCTION__ = "smbd_smb2_request_process_negprot"
#21 0x00007fc22836a09c in smbd_smb2_request_dispatch (req=req at entry=0x55b48e61d690) at ../source3/smbd/smb2_server.c:2568
        xconn = <optimized out>
        call = <optimized out>
        intf_v = <optimized out>
        inhdr = <optimized out>
        opcode = <optimized out>
        flags = <optimized out>
        mid = <optimized out>
        status = <optimized out>
        session_status = <optimized out>
        allowed_flags = <optimized out>
        return_value = <optimized out>
        x = <optimized out>
        signing_required = <optimized out>
        encryption_desired = <optimized out>
        encryption_required = <optimized out>
        __FUNCTION__ = "smbd_smb2_request_dispatch"
#22 0x00007fc22836cac0 in smbd_smb2_process_negprot (xconn=0x55b48e5fa480, expected_seq_low=<optimized out>, inpdu=<optimized out>, size=<optimized out>) at ../source3/smbd/smb2_server.c:3521
        sconn = 0x55b48e61fc30
        status = <optimized out>
        req = 0x55b48e61d690
        __FUNCTION__ = "smbd_smb2_process_negprot"
#23 0x00007fc2282f3e7e in reply_negprot (req=req at entry=0x55b48e61cba0) at ../source3/smbd/negprot.c:752
        choice = 7
        chosen_level = -1
        protocol = 0
        p = <optimized out>
        protocols = <optimized out>
        num_cliprotos = <optimized out>
        cliprotos = <optimized out>
        i = <optimized out>
        converted_size = 10
        xconn = 0x55b48e5fa480
        sconn = 0x55b48e61fc30
        signing_required = true
        max_proto = 7
        min_proto = 3
---Type <return> to continue, or q <return> to quit---
        __profasync_SMBnegprot = <optimized out>
        __FUNCTION__ = "reply_negprot"
        __func__ = "reply_negprot"
#24 0x00007fc228354c90 in switch_message (type=<optimized out>, req=req at entry=0x55b48e61cba0) at ../source3/smbd/process.c:1727
        flags = <optimized out>
        session_tag = <optimized out>
        conn = 0x0
        xconn = <optimized out>
        now = <optimized out>
        session = 0x0
        status = <optimized out>
        __FUNCTION__ = "switch_message"
#25 0x00007fc228356a30 in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=0, unread_bytes=0, size=159, inbuf=0x0, xconn=0x55b48e61fc30) at ../source3/smbd/process.c:1763
        sconn = 0x55b48e61fc30
        req = 0x55b48e61cba0
#26 process_smb (xconn=xconn at entry=0x55b48e5fa480, inbuf=<optimized out>, nread=159, unread_bytes=0, seqnum=0, encrypted=<optimized out>, deferred_pcd=deferred_pcd at entry=0x0) at ../source3/smbd/process.c:2010
        sconn = 0x55b48e61fc30
        msg_type = <optimized out>
        __FUNCTION__ = "process_smb"
#27 0x00007fc228358111 in smbd_server_connection_read_handler (xconn=0x55b48e5fa480, fd=42) at ../source3/smbd/process.c:2610
        inbuf = 0x55b48e61caa0 ""
        inbuf_len = 159
        unread_bytes = 0
        encrypted = false
        mem_ctx = 0x55b48e61ca40
        status = <optimized out>
        seqnum = 0
        async_echo = <optimized out>
        from_client = <optimized out>
        __FUNCTION__ = "smbd_server_connection_read_handler"
#28 0x00007fc225062f6b in epoll_event_loop (tvalp=0x7ffcba8c5e30, epoll_ev=0x55b48e627c30) at ../tevent_epoll.c:728
        fde = <optimized out>
        flags = <optimized out>
        mpx_fde = <optimized out>
        ret = 1
        i = 0
        timeout = <optimized out>
        wait_errno = <optimized out>
        events = {{events = 1, data = {ptr = 0x55b48e5f4740, fd = -1906358464, u32 = 2388608832, u64 = 94233971083072}}}
#29 epoll_event_loop_once (ev=<optimized out>, location=<optimized out>) at ../tevent_epoll.c:930
        epoll_ev = 0x55b48e627c30
        tval = {tv_sec = 59, tv_usec = 999932}
        panic_triggered = false
#30 0x00007fc225061337 in std_event_loop_once (ev=0x55b48e5f3520, location=0x7fc228482798 "../source3/smbd/process.c:4127") at ../tevent_standard.c:114
        glue_ptr = <optimized out>
        glue = 0x55b48e5f3650
        ret = <optimized out>
#31 0x00007fc22505d10d in _tevent_loop_once (ev=ev at entry=0x55b48e5f3520, location=location at entry=0x7fc228482798 "../source3/smbd/process.c:4127") at ../tevent.c:726
        ret = <optimized out>
        nesting_stack_ptr = 0x0
#32 0x00007fc22505d33b in tevent_common_loop_wait (ev=0x55b48e5f3520, location=0x7fc228482798 "../source3/smbd/process.c:4127") at ../tevent.c:849
        ret = <optimized out>
#33 0x00007fc2250612d7 in std_event_loop_wait (ev=0x55b48e5f3520, location=0x7fc228482798 "../source3/smbd/process.c:4127") at ../tevent_standard.c:145
        glue_ptr = <optimized out>
        glue = 0x55b48e5f3650
        ret = <optimized out>
#34 0x00007fc228359444 in smbd_process (ev_ctx=ev_ctx at entry=0x55b48e5f3520, msg_ctx=msg_ctx at entry=0x55b48e5f44a0, sock_fd=sock_fd at entry=42, interactive=interactive at entry=false) at ../source3/smbd/process.c:4127
        trace_state = {ev = 0x55b48e5f3520, frame = 0x55b48e61ca40, profile_idle = {start = 0, stats = 0x0}}
        client = 0x55b48e627ab0
        sconn = 0x55b48e61fc30
        xconn = 0x55b48e5fa480
---Type <return> to continue, or q <return> to quit---
        locaddr = 0x55b48e612800 "`\341\314 \302\177"
        remaddr = <optimized out>
        ret = <optimized out>
        status = <optimized out>
        tv = {tv_sec = 1529777922, tv_usec = 319131}
        now = <optimized out>
        chroot_dir = 0x55b48e5fa6d0 "\306\016\212 \302\177"
        rc = <optimized out>
        __func__ = "smbd_process"
        __FUNCTION__ = "smbd_process"
#35 0x000055b48c66d1d4 in smbd_accept_connection (ev=0x55b48e5f3520, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at ../source3/smbd/server.c:1030
        status = <optimized out>
        s = 0x0
        msg_ctx = 0x55b48e5f44a0
        addr = {ss_family = 2,
          __ss_padding = "\317j\n\364D)", '\000' <repeats 24 times>, "\300Ka\216\264U\000\000P\333\005%\302\177\000\000\300 ^\216\264U\000\000 5_\216\264U\000\000\370:a\216\264U\000\000\275\001\000\000\000\000\000\000\340:a\216\264U\000\000\021\030\006%\302\177\000\000\002\217.[\000\000\000\000 5_\216\264U\000\000\340:a\216\264U\000", __ss_align = 140471821540765}
        in_addrlen = 16
        fd = 42
        pid = 0
        __FUNCTION__ = "smbd_accept_connection"
#36 0x00007fc225062f6b in epoll_event_loop (tvalp=0x7ffcba8c60c0, epoll_ev=0x55b48e5f42f0) at ../tevent_epoll.c:728
        fde = <optimized out>
        flags = <optimized out>
        mpx_fde = <optimized out>
        ret = 1
        i = 0
        timeout = <optimized out>
        wait_errno = <optimized out>
        events = {{events = 1, data = {ptr = 0x55b48e60c3b0, fd = -1906261072, u32 = 2388706224, u64 = 94233971180464}}}
#37 epoll_event_loop_once (ev=<optimized out>, location=<optimized out>) at ../tevent_epoll.c:930
        epoll_ev = 0x55b48e5f42f0
        tval = {tv_sec = 0, tv_usec = 999896}
        panic_triggered = false
#38 0x00007fc225061337 in std_event_loop_once (ev=0x55b48e5f3520, location=0x55b48c671083 "../source3/smbd/server.c:1397") at ../tevent_standard.c:114
        glue_ptr = <optimized out>
        glue = 0x55b48e5f3650
        ret = <optimized out>
#39 0x00007fc22505d10d in _tevent_loop_once (ev=ev at entry=0x55b48e5f3520, location=location at entry=0x55b48c671083 "../source3/smbd/server.c:1397") at ../tevent.c:726
        ret = <optimized out>
        nesting_stack_ptr = 0x0
#40 0x00007fc22505d33b in tevent_common_loop_wait (ev=0x55b48e5f3520, location=0x55b48c671083 "../source3/smbd/server.c:1397") at ../tevent.c:849
        ret = <optimized out>
#41 0x00007fc2250612d7 in std_event_loop_wait (ev=0x55b48e5f3520, location=0x55b48c671083 "../source3/smbd/server.c:1397") at ../tevent_standard.c:145
        glue_ptr = <optimized out>
        glue = 0x55b48e5f3650
        ret = <optimized out>
#42 0x000055b48c66825e in smbd_parent_loop (parent=<optimized out>, ev_ctx=0x55b48e5f3520) at ../source3/smbd/server.c:1397
        trace_state = {frame = 0x55b48e5e4f60}
        ret = 0
#43 main (argc=<optimized out>, argv=<optimized out>) at ../source3/smbd/server.c:2164
        is_daemon = <optimized out>
        interactive = <optimized out>
        Fork = <optimized out>
        no_process_group = 112
        log_stdout = <optimized out>
        ports = 0x0
        profile_level = 0x0
        opt = <optimized out>
        pc = 0x7fc2281b5060 <DEBUGLEVEL_CLASS>
        print_build_options = <optimized out>
---Type <return> to continue, or q <return> to quit---
        main_server_id = {pid = 3226, task_id = 0, vnn = 4294967295, unique_id = 15388926496133788791}
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7fc225472320 <poptHelpOptions>, val = 0, descrip = 0x55b48c670773 "Help options:", argDescrip = 0x0}, {
            longName = 0x55b48c670781 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x55b48c670788 "Become a daemon (default)", argDescrip = 0x0}, {
            longName = 0x55b48c6707a2 "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x55b48c671560 "Run interactive (not a daemon) and log to stdout", argDescrip = 0x0}, {
            longName = 0x55b48c6707ae "foreground", shortName = 70 'F', argInfo = 0, arg = 0x0, val = 1002, descrip = 0x55b48c671598 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, {
            longName = 0x55b48c6707b9 "no-process-group", shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x55b48c6715d0 "Don't create a new process group", argDescrip = 0x0}, {
            longName = 0x55b48c6707ca "log-stdout", shortName = 83 'S', argInfo = 0, arg = 0x0, val = 1004, descrip = 0x55b48c6707d5 "Log to stdout", argDescrip = 0x0}, {
            longName = 0x55b48c6707e3 "build-options", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 98, descrip = 0x55b48c6707f1 "Print build options", argDescrip = 0x0}, {longName = 0x55b48c670805 "port",
            shortName = 112 'p', argInfo = 1, arg = 0x7ffcba8c6200, val = 0, descrip = 0x55b48c67080a "Listen on the specified ports", argDescrip = 0x0}, {longName = 0x55b48c670828 "profiling-level",
            shortName = 80 'P', argInfo = 1, arg = 0x7ffcba8c6208, val = 0, descrip = 0x55b48c670838 "Set profiling level", argDescrip = 0x55b48c67084c "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\000',
            argInfo = 4, arg = 0x7fc228baa4a0 <popt_common_samba>, val = 0, descrip = 0x55b48c67085a "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0,
            val = 0, descrip = 0x0, argDescrip = 0x0}}
        parent = 0x55b48e5fa5d0
        frame = <optimized out>
        status = <optimized out>
        ev_ctx = 0x55b48e5f3520
        msg_ctx = <optimized out>
        server_id = {pid = 3226, task_id = 0, vnn = 4294967295, unique_id = 6927539217341478093}
        se = <optimized out>
        profiling_level = <optimized out>
        np_dir = <optimized out>
        smbd_shim_fns = {cancel_pending_lock_requests_by_fid = 0x7fc2283414f0 <smbd_cancel_pending_lock_requests_by_fid>, send_stat_cache_delete_message = 0x7fc228347b90 <smbd_send_stat_cache_delete_message>,
          change_to_root_user = 0x7fc22832dda0 <smbd_change_to_root_user>, become_authenticated_pipe_user = 0x7fc22832de30 <smbd_become_authenticated_pipe_user>,
          unbecome_authenticated_pipe_user = 0x7fc22832dee0 <smbd_unbecome_authenticated_pipe_user>, contend_level2_oplocks_begin = 0x7fc228395370 <smbd_contend_level2_oplocks_begin>,
          contend_level2_oplocks_end = 0x7fc228395630 <smbd_contend_level2_oplocks_end>, become_root = 0x7fc22832def0 <smbd_become_root>, unbecome_root = 0x7fc22832df20 <smbd_unbecome_root>,
          exit_server = 0x7fc22838d5d0 <smbd_exit_server>, exit_server_cleanly = 0x7fc22838d5f0 <smbd_exit_server_cleanly>}
        __FUNCTION__ = "main"
        __func__ = "main"


==


--
Francis Mondia
Engineering Systems Administrator

francis.mondia at endace.com<mailto:francis.mondia at endace.com>
DDI: +64 7 959 2647, Mob: +64 21 510 581

Level 6, KPMG Center
85 Alexandra St. Hamilton Central, Hamilton 3204, NZ
www.endace.com<http://www.endace.com/>
[Endace-horizontal (250x74 pixels high)]<http://www.endace.com/>



More information about the samba mailing list