March 4, 20242 yr 57 minutes ago, Anon said: I did the Upgrade via the internal updater. The update was succcessfull but the error is sadly still there Idea: Is it possible to just delete all contents of the config? If so I would back up the current config. Then delete everything. Reboot. Set up one share to export and create one test user. That way I could test that smb at least works if I start completely fresh. Then I either go from there and manually configure everything again. Or I can copy over a few of the backed up files (depending on which are safe to copy back and which could be related to the smb error) If it were me, I'd boot in safe mode and verify SMB was working, then add back plugins and dockers until it stops.
March 4, 20242 yr Author Solution Hello everyone. I got it working again. Step taken: - Took the USB Stick and saved the config colder - Flashed the USB Stick with the USB-Creator - Copied the config folder back onto it -> Same Error - Removed the following files: "passwd", "secrets.tdb", "shadow", "smbpasswd" - Restarted -> SMB Working Then I just had to recreate the users. But the awesome thing was I only need to set the name and password. The exact permissions on the shares were retained in the share config. So it only took ~2 min to get all users back and now its happily chugging along. Thanks so so much for all your help
March 4, 20242 yr Community Expert 28 minutes ago, Anon said: Removed the following files: "passwd", "secrets.tdb", "shadow", "smbpasswd" Good to know. So all of the SMB settings are in those four files. And deleting them will allow one to completely reset the SMB configuration. (Now, if I can only remember that fact the next time someone posts up with a similiar problem...) Also good to know that the Share permissions are not a part of the SMB configuration.
March 4, 20242 yr Author Yeah the names are stored here: After deleting the other files it still had the references to those names saved in those files. So once I recreated the user it read that information and set the perms accordingly.
April 4, 20242 yr I found the easy solution to this problem after pulling all my hair out. If you had SMB share working previously with a mapped the network drive. The solution for me was to remove the old mapped drive and remap it again. Doing this magically made smd work again. It stopped telling me my login/password were wrong (even though they were never wrong) I was back in without changing anything in unraid. Hope this helps
May 26, 20242 yr My hair is gone as well. I didn't pull it out, but let's set that aside. My SMB share stopped mounting, so I deleted the SMB, and remapping on my NAS did not work. It did not load my "server" (Windows PC) and would not load remote shares. I ended up having to re-share the Windows share on my PC (properties -> Sharing tab -> share button). Didn't make any changes in Windows other than hit the button and have the share files re-walked on the PC. I added the share on the NAS again, was able to load the "server" and load the remote share. Why it disappeared, I have no idea. I had updated the UNRaid OS to 6.12.10, but that was weeks ago. Boy, I hate computers...
December 19, 20241 yr On 3/4/2024 at 4:00 PM, Anon said: Hello everyone. I got it working again. Step taken: - Took the USB Stick and saved the config colder - Flashed the USB Stick with the USB-Creator - Copied the config folder back onto it -> Same Error - Removed the following files: "passwd", "secrets.tdb", "shadow", "smbpasswd" - Restarted -> SMB Working Then I just had to recreate the users. But the awesome thing was I only need to set the name and password. The exact permissions on the shares were retained in the share config. So it only took ~2 min to get all users back and now its happily chugging along. Thanks so so much for all your help I can confirm that this solved the problem: My old usb stick died and after I copied my backup to a new usb stick I couldn't access my shares on multiple machines, windows and linux ("permission denied"). I could connect to a new share if I used a new user as well (I think I couldn't access the old shares with the new user, but I'm not sure) I shutdown the unraid machine, took the usb stick to another machine and deleted the four files from the /config folder. I rebooted the unraid machine and was asked to create a password for root (I took the same as before). All users (except root, of course) were gone, and I recreated them with the same name/password. Now all machines connect to the shares again. Edited December 19, 20241 yr by jiqWFWegqq
March 10, 20251 yr After trying many things, including upgrading from UR 6 to 7, this command brought ALL my SMB shares back to life! 🙂 mv /boot/config/smb-extra.conf /boot/config/smb-extra.conf.bak /etc/rc.d/rc.samba restart Edited March 10, 20251 yr by cluengas
March 31, 20251 yr On 3/10/2025 at 7:56 PM, cluengas said: After trying many things, including upgrading from UR 6 to 7, this command brought ALL my SMB shares back to life! 🙂 mv /boot/config/smb-extra.conf /boot/config/smb-extra.conf.bak /etc/rc.d/rc.samba restart This paired with reapplying my SMB User pasword in Unraid, made all my shares on both Windows and MacOS reconnect
June 12, 20251 yr I'm having an issue with my SMB also but it only happens in Windows, my Macbook can flawlessly access my SMB share.When I try the following command in the console (mv /boot/config/smb-extra.conf /boot/config/smb-extra.conf.bak /etc/rc.d/rc.samba restart), I get the following error message:mv: target 'restart': No such file or directoryAm I doing something wrong? I really need to access my SMB from my windows computer for work.
June 13, 20251 yr Community Expert 1 hour ago, smug-damnation4228 said:I'm having an issue with my SMB also but it only happens in Windows, my Macbook can flawlessly access my SMB share.When I try the following command in the console (mv /boot/config/smb-extra.conf /boot/config/smb-extra.conf.bak /etc/rc.d/rc.samba restart), I get the following error message:mv: target 'restart': No such file or directoryAm I doing something wrong? I really need to access my SMB from my windows computer for work.Try this from the release notes of ver6,12,15:
August 3, 2025Aug 3 On 6/13/2025 at 3:42 AM, Frank1940 said:Try this from the release notes of ver6,12,15:My SMB problem are solved after deleting windows credentials, and the deleting the files in unraid config folder: "passwd", "secrets.tdb", "shadow", "smbpasswd" and then make a windows credential as of that screenshot here, frank has uploadetAnd I will add to it, that this problem came after my usb stick died, and I bought a new one, and transfered the backup to the new stick, so where the fail happened, I do not knowThx alot guys, it saved the last hair on my head ;)
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.