+++ This bug was initially created as a clone of Bug #1202347 +++ Description of problem: Computers can no longer connect to a samba4 domain member server with username/password authentication. Only kerberos authentication is accepted. Tried an android client as well. Error is "A lock request specified an invalid locking mode , or conflicted with an existing file lock." Version-Release number of selected component (if applicable): samba-4.2.2-0.fc22.x86_64 How reproducible: Always Steps to Reproduce: 1. smbclient //server/share -U user -W DOMAIN Actual results: NT_STATUS_LOCK_NOT_GRANTED. Expected results: Normal smbclient session. Additional info: smbclient -k //server/share works fine. sssd is being used. "security = ads" is being used. same exact configuration works on samba-4.1.17-1.fc21.x86_64 on fedora 21. Here's my smb.conf: [global] workgroup = MYDOMAIN kerberos method = secrets and keytab log file = /var/log/samba/%m.log realm = MYDOMAIN.COM security = ads [shared] comment = shared path = /srv/shared read only = no browseable = no
Same here. I just upgraded my server to Fedora 22 and I now get the NT_STATUS_LOCK_NOT_GRANTED error when trying to connect from my linux workstation. My setup was working previously. I am running samba-4.2.2-1.fc22.x86_64. When I try to connect from Windows workstations, I get the following in /var/log/samba/log.smbd: [2015/08/21 14:51:29.649106, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:29.651441, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3209 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:29.653802, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:29.655309, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3209): internal error [2015/08/21 14:51:29.657831, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 38 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] #5 /lib64/libsamba-passdb.so.0(+0x10d9b) [0x7f3e2179ad9b] #6 /usr/lib64/samba/libdbwrap-samba4.so(dbwrap_parse_record+0x1b) [0x7f3e1dc3ac3b] #7 /usr/lib64/samba/libmsrpc3-samba4.so(+0x6b26) [0x7f3e1e050b26] #8 /usr/lib64/samba/libmsrpc3-samba4.so(netlogon_creds_cli_lock_send+0x138) [0x7f3e1e052788] #9 /usr/lib64/samba/libmsrpc3-samba4.so(+0x8b1b) [0x7f3e1e052b1b] #10 /usr/lib64/samba/libmsrpc3-samba4.so(netlogon_creds_cli_LogonSamLogon_send+0xff) [0x7f3e1e05411f] #11 /usr/lib64/samba/libmsrpc3-samba4.so(netlogon_creds_cli_LogonSamLogon+0x6d) [0x7f3e1e0542bd] #12 /usr/lib64/samba/liblibcli-netlogon3-samba4.so(rpccli_netlogon_network_logon+0x227) [0x7f3e1994b447] #13 /usr/lib64/samba/libauth-samba4.so(+0xd235) [0x7f3e2136b235] #14 /usr/lib64/samba/libauth-samba4.so(+0xdc03) [0x7f3e2136bc03] #15 /usr/lib64/samba/libauth-samba4.so(+0x9267) [0x7f3e21367267] #16 /usr/lib64/samba/libauth-samba4.so(auth_check_ntlm_password+0x1da) [0x7f3e2136c48a] #17 /usr/lib64/samba/libauth-samba4.so(auth3_check_password+0x127) [0x7f3e2136de27] #18 /lib64/libgensec.so.0(gensec_ntlmssp_server_auth+0x370) [0x7f3e1c1d3ee0] #19 /lib64/libgensec.so.0(gensec_ntlmssp_update+0x1cf) [0x7f3e1c1d205f] #20 /lib64/libgensec.so.0(gensec_update_ev+0xc8) [0x7f3e1c1dac58] #21 /lib64/libgensec.so.0(+0xb54f) [0x7f3e1c1cf54f] #22 /lib64/libgensec.so.0(+0xc051) [0x7f3e1c1d0051] #23 /lib64/libgensec.so.0(+0x164fd) [0x7f3e1c1da4fd] #24 /lib64/libtevent.so.0(tevent_common_loop_immediate+0xd4) [0x7f3e1fb44924] #25 /lib64/libsmbconf.so.0(run_events_poll+0x3c) [0x7f3e2112351c] #26 /lib64/libsmbconf.so.0(+0x36807) [0x7f3e21123807] #27 /lib64/libtevent.so.0(_tevent_loop_once+0x8d) [0x7f3e1fb440cd] #28 /lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f3e1fb4426b] #29 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_process+0x728) [0x7f3e22b335b8] #30 /usr/sbin/smbd(+0xaec0) [0x5608436d6ec0] #31 /lib64/libsmbconf.so.0(run_events_poll+0x167) [0x7f3e21123647] #32 /lib64/libsmbconf.so.0(+0x368a7) [0x7f3e211238a7] #33 /lib64/libtevent.so.0(_tevent_loop_once+0x8d) [0x7f3e1fb440cd] #34 /lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f3e1fb4426b] #35 /usr/sbin/smbd(main+0x1820) [0x5608436d3680] #36 /lib64/libc.so.6(__libc_start_main+0xf0) [0x7f3e1f7a0700] #37 /usr/sbin/smbd(_start+0x29) [0x5608436d3789] [2015/08/21 14:51:29.685279, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:30.368314, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:30.370882, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3212 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:30.373550, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:30.375163, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3212): internal error [2015/08/21 14:51:30.377226, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:30.382823, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:31.223489, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:31.226020, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3223 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:31.228370, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:31.229865, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3223): internal error [2015/08/21 14:51:31.231979, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:31.237565, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:31.554937, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:31.557798, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3226 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:31.558308, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:31.558674, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3226): internal error [2015/08/21 14:51:31.562703, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:31.587789, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:31.919652, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:31.920620, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3228 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:31.921133, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:31.921432, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3228): internal error [2015/08/21 14:51:31.922269, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:31.923354, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:32.234351, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:32.235079, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3230 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:32.235488, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:32.236285, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3230): internal error [2015/08/21 14:51:32.237635, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:32.239050, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:32.558220, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:32.558902, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3232 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:32.559355, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:32.559906, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3232): internal error [2015/08/21 14:51:32.561222, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:32.562801, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:33.866109, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:33.868394, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3234 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:33.870817, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:33.872395, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3234): internal error [2015/08/21 14:51:33.874477, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:33.879369, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:34.766492, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:34.768643, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3236 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:34.769129, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:34.769418, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3236): internal error [2015/08/21 14:51:34.770302, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:34.771397, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:35.337369, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:35.338132, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3238 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:35.338540, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:35.338798, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3238): internal error [2015/08/21 14:51:35.339672, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:35.341032, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:35.654653, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:35.655367, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3240 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:35.655780, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:35.656155, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3240): internal error [2015/08/21 14:51:35.656930, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:35.658370, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:35.968528, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:35.969269, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3242 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:35.969710, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:35.970029, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3242): internal error [2015/08/21 14:51:35.970876, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:35.972040, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:36.300726, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:36.301904, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3244 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:36.302298, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:36.302648, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3244): internal error [2015/08/21 14:51:36.303579, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:36.304663, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:36.623755, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:36.624846, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3246 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:36.625368, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:36.625648, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3246): internal error [2015/08/21 14:51:36.626595, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:36.627699, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:36.937843, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:36.938648, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3248 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:36.939088, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:36.939411, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3248): internal error [2015/08/21 14:51:36.940307, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:36.941538, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:37.249535, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:37.250454, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3250 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:37.250880, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:37.251312, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3250): internal error [2015/08/21 14:51:37.252231, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:37.253271, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:37.573145, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:37.573823, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3252 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:37.574276, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:37.574586, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3252): internal error [2015/08/21 14:51:37.575418, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:37.576871, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd [2015/08/21 14:51:38.457041, 0] ../lib/util/fault.c:78(fault_report) =============================================================== [2015/08/21 14:51:38.457731, 0] ../lib/util/fault.c:79(fault_report) INTERNAL ERROR: Signal 11 in pid 3254 (4.2.2) Please read the Trouble-Shooting section of the Samba HOWTO [2015/08/21 14:51:38.458197, 0] ../lib/util/fault.c:81(fault_report) =============================================================== [2015/08/21 14:51:38.458548, 0] ../source3/lib/util.c:788(smb_panic_s3) PANIC (pid 3254): internal error [2015/08/21 14:51:38.459380, 0] ../source3/lib/util.c:899(log_stack_trace) BACKTRACE: 5 stack frames: #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f3e2110dbaa] #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3e2110dc80] #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f3e22f5c2ff] #3 /lib64/libsamba-util.so.0(+0x1a516) [0x7f3e22f5c516] #4 /lib64/libpthread.so.0(+0x10430) [0x7f3e23185430] [2015/08/21 14:51:38.460533, 0] ../source3/lib/dumpcore.c:318(dump_core) dumping core in /var/log/samba/cores/smbd
Sorry, it looks like the garbage from the Windows connection attempts was do to the cifs/server.domain@REALM principle not being present in my linux server's keytab. Adding "cifs/server.domain" to the computer account's servicePrincipleName entry in AD with the ADSI Edit tool and running: net -U <domain user> ads keytab add cifs/server.domain@REALM on my linux server seems to have fixed that. It was working previously, but maybe it was using NTLM. So, as with the reporter, I can connect via kerberos authentication (linux or windows client), but I cannot connect with a username and password. I get NT_STATUS_LOCK_NOT_GRANTED from my linux client.
A second issue that I am having with my samba server after upgrading to Fedora 22 is that if I try to connect using the local samba user: Unix username: root NT username: Account Flags: [U ] User SID: S-1-5-21-2898460853-2381404663-4186341657-1000 Finding user root Trying _Get_Pwnam(), username as lowercase is root Get_Pwnam_internals did find user [root]! Opening cache file at /var/lib/samba/gencache.tdb Opening cache file at /var/lib/samba/gencache_notrans.tdb gid_to_sid: winbind failed to find a sid for gid 0 Forcing Primary Group to 'Domain Users' for root Primary Group SID: S-1-5-21-2898460853-2381404663-4186341657-513 Full Name: root Home Directory: \\vm-00\root HomeDir Drive: Logon Script: Profile Path: \\vm-00\root\profile Domain: VM-00 Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: Wed, 06 Feb 2036 09:06:39 CST Kickoff time: Wed, 06 Feb 2036 09:06:39 CST Password last set: Tue, 24 Mar 2015 16:20:54 CDT Password can change: Tue, 24 Mar 2015 16:20:54 CDT Password must change: never Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF My server instantly and completely locks up. I had tail -f /var/log/samba/log.smbd running in an ssh terminal and logging set to 9 when I attempted to connect with the local user. No lines were printed to the log file and the server completely froze. I had to hard poweroff the server to get it going again. I'm not sure if this is a "supported" configuration, but I had created that local user before I joined my samba server to the AD domain as a domain member. Before I upgraded, I was able to connect to the samba server with \\VM-00\Administrator (where "root = Administrator" was in smbusers) or with an active directory account. I found the ability to log onto my samba server with both the local samba user or a domain account very useful. I was even able to use identical Administrator passwords on my Windows workstations and on my samba server and the windows clients would auto-authenticate to the samba server when I was logged onto them with the local Administrator account. This was extremely convenient for installing software on the Windows machines which I always do with the local Windows Administrator account. Because my production linux server now completely hangs/halts whenever I log onto one of my Windows workstations as Administrator, this is a pretty serious bug for me (I have network neighbourhood shortcuts defined in the local Administrator account's profile on some of my workstations -- just logging onto them with Administrator takes down my server because the network neighbourhood links automatically attempt to connect when I start Windows Explorer).
You are not running winbindd, right? There will be an update to 4.2.3 soon which will have this fixed.
Correct. We don't have winbind but we are using sssd with ad backend.
I'm not running winbind either. Also, regarding the hard lockups that I am experiencing, I commented out the "root = Administrator" mapping that I had in smbusers, and I changed the permissions on my shares so that I could only connect with domain accounts, and that seems to have helped greatly, but I did still get one lockup when I tried to connect to one particular share (I only tried once; I am wary of trying again because I need this server to stay online right now). The share that caused my server to hang with 100% CUP usage was my "CD" share which is unique in that it has a preexe line defined that points to the following bash script: [cd] ... preexec = /etc/samba/iso-mount.sh &>/dev/null ... iso-mount.sh contains: #!/usr/bin/bash # vim:set ts=3: set -e # exec &>/dev/null cd /export/archive/cd for i in *.iso; do BASE=${i%%.iso} if [ ! -e $BASE ]; then mkdir $BASE fi if ! mountpoint -q $BASE; then mount -o ro,loop $i $BASE fi done The script used to work before the upgrade. I just realized though, I should probably change "preexec" to "root preexec" since I am connecting with a domain account now. Maybe the hard lockup is due to samba not being able to call mount??? I'll keep an eye out for the update. Thanks!
samba-4.2.3-0.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14742
samba-4.2.3-0.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update samba'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14742
I've tested the packages and it seems fixed. I'll leave feedback in bodhi also.
samba-4.2.3-0.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.