Jump to content

[SOLVED] Unable to access any shares via SMB


Go to solution Solved by JorgeB,

Recommended Posts

I've been troubleshooting this for days and am getting exhausted trying to resolve.

 

A few days ago my shares just stopped working.  I Can't access any shares from any Windows workstation.

 

I've poured over the forums and have tried changing my SMB settings, share settings, adding users that match my windows username. Disabling SMB1 on windows, rebooting both server and workstations. Removing any prior SMB connections to the server (net use delete).  I've deleted my windows credentials which didn't fix it, I've re-added them manually, also didn't fix it

 

I've attached my diagnostics.  Any assistance would be appreciated.

 

 

 

Edited by technologiq
removed diagnostics
Link to comment
3 minutes ago, dlandon said:

Enable NetBIOS and WSD in SMB Settings.  You have discovery turned off.

 

Depending on your setup, you may not need NetBIOS, but turn it on for now.  It's only necessary for SMBv1.

 

Edit: Trun off MacOS interroperability unless you need to access your shares with a Mac.

I've tried all that. What you see now was just my most recent attempt to fix. 

Link to comment

Looks like a permission problem:

Nov 30 16:07:31 Vault  smbd[43571]: [2022/11/30 16:07:31.580337,  0] ../../source3/smbd/smb2_service.c:168(chdir_current_service)
Nov 30 16:07:31 Vault  smbd[43571]:   chdir_current_service: vfs_ChDir(/mnt/user/backups) failed: Permission denied. Current token: uid=1000, gid=100, 4 groups: 100 3003 3004 3005

 

Show the output of this command:

ls -la /mnt/user/

 

Link to comment
1 hour ago, dlandon said:

Looks like a permission problem:

Nov 30 16:07:31 Vault  smbd[43571]: [2022/11/30 16:07:31.580337,  0] ../../source3/smbd/smb2_service.c:168(chdir_current_service)
Nov 30 16:07:31 Vault  smbd[43571]:   chdir_current_service: vfs_ChDir(/mnt/user/backups) failed: Permission denied. Current token: uid=1000, gid=100, 4 groups: 100 3003 3004 3005

 

Show the output of this command:

ls -la /mnt/user/

 

root@Vault:~# ls -la /mnt/user/
total 12
drwx------   1    999 users   36 Nov 30 15:21 ./
drwxr-xr-x  20 root   root   400 Nov 30 20:15 ../
drwxrwxrwx   1 nobody users   43 Dec  7  2019 .Trash-99/
drwxrwxrwx   1 nobody users   66 Sep 14  2019 CommunityApplicationsAppdataBackup/
drwxrwxrwx   1 nobody users 4096 Nov 30 09:53 appdata/
drwxrwxrwx   1 nobody users   99 Nov 27 14:42 backups/
drwxr-xr-x+  1 nobody users   18 Mar 20  2022 documents/
drwxrwxrwx   1 nobody users    6 Jun 16  2020 domains/
drwxrwxrwx   1    999 users   30 Nov 23 20:47 downloads/
drwxrwxrwx   1 nobody users  299 Jan  4  2022 isos/
drwxrwxrwx   1    999 users   30 Mar 28  2022 media/
drwxrwxrwx   1 nobody users  134 Jun 12 18:08 movies/
drwxrwx---   1 nobody users  262 Nov 24 10:31 nextcloud/
-rw-r--r--   1 nobody users    0 Nov 27 17:24 nextcloud.log
drwxrwxrwx   1 nobody users   35 Jan  2  2022 photos/
drwxrwxrwx   1 nobody users 4096 Aug  2  2020 projects/
drwxrwxrwx   1 nobody users   78 Apr  2  2022 scans/
drwxrwxrwx   1 nobody users   20 Nov 22 22:18 system/
drwxrwxrwx   1 nobody users    6 Nov 24  2019 tv/
root@Vault:~# 

Thanks for the assistance!

Link to comment
  • technologiq changed the title to [SOLVED] Unable to access any shares via SMB

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