technologiq Posted November 30, 2022 Share Posted November 30, 2022 (edited) 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 December 1, 2022 by technologiq removed diagnostics Quote Link to comment
dlandon Posted November 30, 2022 Share Posted November 30, 2022 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. Quote Link to comment
technologiq Posted November 30, 2022 Author Share Posted November 30, 2022 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. Quote Link to comment
dlandon Posted November 30, 2022 Share Posted November 30, 2022 Give me a diagnostics with those turned on. Quote Link to comment
technologiq Posted November 30, 2022 Author Share Posted November 30, 2022 (edited) 19 hours ago, dlandon said: Give me a diagnostics with those turned on. Edited December 1, 2022 by technologiq removed diagnostics Quote Link to comment
dlandon Posted December 1, 2022 Share Posted December 1, 2022 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/ Quote Link to comment
technologiq Posted December 1, 2022 Author Share Posted December 1, 2022 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! Quote Link to comment
Solution JorgeB Posted December 1, 2022 Solution Share Posted December 1, 2022 /mnt/user permission are wrong, type chmod 777 /mnt/user Quote Link to comment
technologiq Posted December 1, 2022 Author Share Posted December 1, 2022 3 hours ago, JorgeB said: /mnt/user permission are wrong, type chmod 777 /mnt/user Working now, I should have known better to try for the simple things before doing everything else. Thank you! 1 Quote Link to comment
Recommended Posts
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.