November 30, 20223 yr 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, 20223 yr by technologiq removed diagnostics
November 30, 20223 yr 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.
November 30, 20223 yr Author 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.
November 30, 20223 yr Author 19 hours ago, dlandon said: Give me a diagnostics with those turned on. Edited December 1, 20223 yr by technologiq removed diagnostics
December 1, 20223 yr 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/
December 1, 20223 yr Author 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!
December 1, 20223 yr Community Expert Solution /mnt/user permission are wrong, type chmod 777 /mnt/user
December 1, 20223 yr Author 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!
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.