Jump to content

Problem: Suddenly can't access SMB Shares on any PC


Go to solution Solved by Anon,

Recommended Posts

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.

Link to comment
  • 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

Link to comment
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.

Link to comment

Yeah the names are stored here:

grafik.thumb.png.c81fc64b7a63ca231e509bae2d4f7c20.png

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.

  • Thanks 1
Link to comment
  • 5 weeks later...

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 

  • Thanks 1
Link to comment
  • 1 month later...

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...

  • Like 1
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...