December 10, 20223 yr After upgrading from 6.9.2 to 6.11.05 I can't connect to my shares any longer - from neither Macos or Windows 10. I can't even see the shares but only Tower (the server itself). I've tried downgrading but that didn't solve the problem. In Macos Finder I get this error: This file server will not allow any additional users to log on. Try to connect again later. I've attached the diagnostics and hope somebody can guide me to a solution as I use the shares quite a lot. tower-diagnostics-20221210-1313.zip
December 10, 20223 yr Author I just restarted Samba on the server and see this in the log: Dec 10 14:11:42 Tower smbd[13292]: smbd version 4.17.3 started. Dec 10 14:11:42 Tower smbd[13292]: Copyright Andrew Tridgell and the Samba Team 1992-2022 Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535206, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower smbd[13293]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535267, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower smbd[13293]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535278, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower smbd[13293]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535301, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower smbd[13293]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535310, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower smbd[13293]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535320, 0] ../../source3/passdb/machine_sid.c:170(pdb_generate_sam_sid) Dec 10 14:11:42 Tower smbd[13293]: pdb_generate_sam_sid: Failed to store generated machine SID. Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535334, 0] ../../lib/util/fault.c:173(smb_panic_log) Dec 10 14:11:42 Tower smbd[13293]: =============================================================== Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535345, 0] ../../lib/util/fault.c:174(smb_panic_log) Dec 10 14:11:42 Tower smbd[13293]: INTERNAL ERROR: could not generate a machine SID in pid 13293 (4.17.3) Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535354, 0] ../../lib/util/fault.c:178(smb_panic_log) Dec 10 14:11:42 Tower smbd[13293]: 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 Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535367, 0] ../../lib/util/fault.c:183(smb_panic_log) Dec 10 14:11:42 Tower smbd[13293]: =============================================================== Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535376, 0] ../../lib/util/fault.c:184(smb_panic_log) Dec 10 14:11:42 Tower smbd[13293]: PANIC (pid 13293): could not generate a machine SID in 4.17.3 Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535806, 0] ../../lib/util/fault.c:292(log_stack_trace) Dec 10 14:11:42 Tower smbd[13293]: BACKTRACE: 7 stack frames: Dec 10 14:11:42 Tower smbd[13293]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x14943dd2a64e] Dec 10 14:11:42 Tower smbd[13293]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x14943dd2a8a9] Dec 10 14:11:42 Tower smbd[13293]: #2 /usr/lib64/libsecrets3-samba4.so(get_global_sam_sid+0x465) [0x14943e0b2b35] Dec 10 14:11:42 Tower smbd[13293]: #3 /usr/sbin/smbd(main+0x61b) [0x5654d95c83eb] Dec 10 14:11:42 Tower smbd[13293]: #4 /lib64/libc.so.6(+0x23177) [0x14943daf8177] Dec 10 14:11:42 Tower smbd[13293]: #5 /lib64/libc.so.6(__libc_start_main+0x85) [0x14943daf8235] Dec 10 14:11:42 Tower smbd[13293]: #6 /usr/sbin/smbd(_start+0x21) [0x5654d95c9b31] Dec 10 14:11:42 Tower smbd[13293]: [2022/12/10 14:11:42.535860, 0] ../../source3/lib/dumpcore.c:315(dump_core) Dec 10 14:11:42 Tower smbd[13293]: dumping core in /var/log/samba/cores/smbd Dec 10 14:11:42 Tower smbd[13293]: Dec 10 14:11:42 Tower nmbd[13294]: [2022/12/10 14:11:42.550774, 0] ../../source3/nmbd/nmbd.c:901(main) Dec 10 14:11:42 Tower nmbd[13294]: nmbd version 4.17.3 started. Dec 10 14:11:42 Tower nmbd[13294]: Copyright Andrew Tridgell and the Samba Team 1992-2022 Dec 10 14:11:42 Tower wsdd2[13305]: starting. Dec 10 14:11:42 Tower winbindd[13306]: [2022/12/10 14:11:42.635207, 0] ../../source3/winbindd/winbindd.c:1440(main) Dec 10 14:11:42 Tower winbindd[13306]: winbindd version 4.17.3 started. Dec 10 14:11:42 Tower winbindd[13306]: Copyright Andrew Tridgell and the Samba Team 1992-2022 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638262, 0] ../../source3/winbindd/winbindd_cache.c:3116(initialize_winbindd_cache) Dec 10 14:11:42 Tower winbindd[13308]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638534, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower winbindd[13308]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638561, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower winbindd[13308]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638571, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower winbindd[13308]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638579, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower winbindd[13308]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638587, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Dec 10 14:11:42 Tower winbindd[13308]: tdb(/var/lib/samba/private/secrets.tdb): transaction_read: failed at off=356790136 len=24 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638595, 0] ../../source3/passdb/machine_sid.c:170(pdb_generate_sam_sid) Dec 10 14:11:42 Tower winbindd[13308]: pdb_generate_sam_sid: Failed to store generated machine SID. Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638607, 0] ../../lib/util/fault.c:173(smb_panic_log) Dec 10 14:11:42 Tower winbindd[13308]: =============================================================== Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638618, 0] ../../lib/util/fault.c:174(smb_panic_log) Dec 10 14:11:42 Tower winbindd[13308]: INTERNAL ERROR: could not generate a machine SID in pid 13308 (4.17.3) Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638626, 0] ../../lib/util/fault.c:178(smb_panic_log) Dec 10 14:11:42 Tower winbindd[13308]: 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 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638634, 0] ../../lib/util/fault.c:183(smb_panic_log) Dec 10 14:11:42 Tower winbindd[13308]: =============================================================== Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638642, 0] ../../lib/util/fault.c:184(smb_panic_log) Dec 10 14:11:42 Tower winbindd[13308]: PANIC (pid 13308): could not generate a machine SID in 4.17.3 Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638934, 0] ../../lib/util/fault.c:292(log_stack_trace) Dec 10 14:11:42 Tower winbindd[13308]: BACKTRACE: 10 stack frames: Dec 10 14:11:42 Tower winbindd[13308]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x146b5e0e864e] Dec 10 14:11:42 Tower winbindd[13308]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x146b5e0e88a9] Dec 10 14:11:42 Tower winbindd[13308]: #2 /usr/lib64/libsecrets3-samba4.so(get_global_sam_sid+0x465) [0x146b5edc4b35] Dec 10 14:11:42 Tower winbindd[13308]: #3 /usr/lib64/libsecrets3-samba4.so(sid_check_is_our_sam+0x9) [0x146b5edc4d59] Dec 10 14:11:42 Tower winbindd[13308]: #4 /usr/sbin/winbindd(+0x26add) [0x56373bee0add] Dec 10 14:11:42 Tower winbindd[13308]: #5 /usr/sbin/winbindd(init_domain_list+0x121) [0x56373bee1771] Dec 10 14:11:42 Tower winbindd[13308]: #6 /usr/sbin/winbindd(main+0x701) [0x56373bed7831] Dec 10 14:11:42 Tower winbindd[13308]: #7 /lib64/libc.so.6(+0x23177) [0x146b5db79177] Dec 10 14:11:42 Tower winbindd[13308]: #8 /lib64/libc.so.6(__libc_start_main+0x85) [0x146b5db79235] Dec 10 14:11:42 Tower winbindd[13308]: #9 /usr/sbin/winbindd(_start+0x21) [0x56373bed8a11] Dec 10 14:11:42 Tower winbindd[13308]: [2022/12/10 14:11:42.638987, 0] ../../source3/lib/dumpcore.c:315(dump_core) Dec 10 14:11:42 Tower winbindd[13308]: dumping core in /var/log/samba/cores/winbindd Dec 10 14:11:42 Tower winbindd[13308]: Dec 10 14:12:05 Tower nmbd[13295]: [2022/12/10 14:12:05.577718, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Dec 10 14:12:05 Tower nmbd[13295]: ***** Dec 10 14:12:05 Tower nmbd[13295]: Dec 10 14:12:05 Tower nmbd[13295]: Samba name server TOWER is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1 Dec 10 14:12:05 Tower nmbd[13295]: Dec 10 14:12:05 Tower nmbd[13295]: ***** Dec 10 14:12:05 Tower nmbd[13295]: [2022/12/10 14:12:05.577830, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Dec 10 14:12:05 Tower nmbd[13295]: ***** Dec 10 14:12:05 Tower nmbd[13295]: Dec 10 14:12:05 Tower nmbd[13295]: Samba name server TOWER is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.10 Dec 10 14:12:05 Tower nmbd[13295]: Dec 10 14:12:05 Tower nmbd[13295]: ***** Edited December 10, 20223 yr by Varming
December 10, 20223 yr It looks like you have your Unraid shares set to 'Public'. Microsoft has changed access to Public shares. I can't remember where in the Forum this is talked about, but you'll have to make some changes to Windows clients to access Public shares. Not sure about Mac computers.
December 10, 20223 yr Community Expert See here for one place: https://forums.unraid.net/topic/132200-cant-see-files-on-network/#comment-1200926
December 10, 20223 yr Author Solution UPDATE! I just formatted my flash drive in a Windows computer, installed 6.11.5 on it and copied the config folder over from a backup I took earlier today. After booting up again the shares are working. So something seems to go wrong when updating from 6.9.2 to 6.11.5 and the solution is to make a fresh install instead.
June 15, 20242 yr I also get frequent problems with accessing SMB shares from other devices on my network, that I can not explain. Proxmox error: "create storage failed: connection check for storage 'btower' failed - tree connect failed: NT_STATUS_ACCESS_DENIED (500)" A printer also had problems using a share to write scans to. Both appear the browse the share regardless, to let me select the folder/share to use. But when actually trying to use the shares it fails. My workaround / solution: Create a new Unraid user, to access same share. Never understood why. Seems like a bug yes. Edited June 15, 20242 yr by Barry Staes
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.