Windows Update killed access to share

speed41ae

Cadet
Joined
May 11, 2016
Messages
5
Updated Windows 10 workstations lost access to my freenas. Unupdated workstations work file. I am uninstalling updates to see if I can figure which one broke my access.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Are you using root to access your shares?
 

speed41ae

Cadet
Joined
May 11, 2016
Messages
5
Are you using root to access your shares?
No I am using guest access. I cannot even browse the Freenas using Windows explorer. An workstation that did not apply this weeks updates can still the Freenas without any issues.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399

speed41ae

Cadet
Joined
May 11, 2016
Messages
5
This is due to Microsoft deprecating guest access from the client. See https://docs.microsoft.com/en-us/tr...g/guest-access-in-smb2-is-disabled-by-default.

You could try using gpedit.msc to set the GPO mentioned in the Microsoft KB article, and then rebooting the client.

This was already done.

  1. Open the Local Group Policy Editor (gpedit.msc).
  2. In the console tree, select Computer Configuration > Administrative Templates > Network > Lanman Workstation.
  3. For the setting, right-click Enable insecure guest logons and select Edit.
  4. Select Enabled and select OK.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
OK, then if the Registry fix for guest access is already in place, then you may have to set a guest account in the SMB service other than the default of nobody, and change the ownership of all the files and directories in the share to match that non-default guest account.

On my system, I have the SMB service configured to use the plex account (UID 972, GID 972) as the guest account:

1623434952254.png


On my guest share, I configure guest access, and add guest only = yes to the share's Auxiliary Parameters:

1623435036502.png

Finally, in the dataset backing the share, I have everything owned by plex:plex:

Code:
root@raven:/mnt/main/media # ls -al
total 131
drwxr-xr-x    6 plex  plex     6 May 31 18:48 ./
drwxr-xr-x    9 root  wheel    9 Jan 30 17:16 ../
drwxr-xr-x   59 plex  plex    59 Sep 24  2020 Movies/
drwxr-xr-x   43 plex  plex    43 Aug 17  2020 Music/
drwxr-xr-x  127 plex  plex   127 Jun  8 21:29 Photos/
drwxr-xr-x   16 plex  plex    16 Sep 24  2020 TV Shows/
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
I saw some reports of the guest access setting becoming effectively unset during some Windows updates. If windows update rollback fixed the issue, then it's somewhat implausible that it's related to guest settings on TN.
 
Top