Config for SMB share so I can connect with Win11
Config for SMB share so I can connect with Win11
I have a SMB share on a computer. It's set to anonymous access, meaning I don't have to enter a password to access the shares. All my PC's at home are Linux so this has served me for many years. I now have a Windows 11 laptop from work that refuses to connect to this device. The message it gives me is you can't access this shared folder because your organization's security policies block unauthenticated guest access
I have tried adding a new share that requires authenticated access, but Windows keeps giving the same error.
I have changed the protocol settings to be higher, but they had no effect. Here is my current config:
#======================= Global Settings ===================================== [global] protocol = SMB3_11 client min protocol = SMB3 client max protocol = SMB3_11 workgroup = REDACTED.HOME server string = SAMBA map to guest = bad user hosts allow = 192.168.1. 127. printcap name = /etc/printcap load printers = no log file = /var/log/samba/%m.log max log size = 50 security = user #============================ Share Definitions ============================== [smbshare] path = /mnt/share public = yes only guest = yes writable = yes browseable = yes create mask = 0777 directory mask = 0777 printable = no guest ok = yes [smbshareauth] comment = Authenticated share path = /mnt/share read only = no public = yes
This config still works for my anonymous share on my Linux machine, but (still) not on Windows 11 with the authenticated share. Removing the anonymous share from the config and leaving only the authenticated share does nothing for Windows 11, still same error.
Protocol before was
protocol = SMB3 client min protocol = SMB2 client max protocol = SMB3
I tried to connect to 192.168.1.5\smbshareauth but that gives the above error. Help is greatly appreciated!