Here are some good troubleshooting steps, shamelessly copied from ServerFault:
- Maybe your Windows host is prepending your username with the wrong domain name. From the Windows machine, try to login using
localhost\simonas the username - Issue
sudo pdbedit -L(must run as root) and check if usersimonis listed. If so, set a trivial password (you can change it later) usingsmbpasswd simon - If user
simonis not listed, try to recreate it issuingsmbpasswd -a simon - If it does not work, delete the passwd file (it is named
passwd.tdb; for reference, it is found under/var/lib/samba/private/). Then, recreate your user issuingsmbpasswd -a simon - If it still not working, try to use the root account issuing
smbpasswd -a rootand check if you can login using the root user. Note: this is only a try. After having done with it, you must delete root's entry issuingsmbpasswd -x root - Your last resort is to increase the verbosity of logging and see if you can find clues there. For authentication attempts, edit or add the following line on your
smb.conf:log level = 2 winbind:5, check the logs with something liketail -f /var/log/samba/log*and try to login.
Hope some of it helps.
Answer from Artur Meinild on askubuntu.comHere are some good troubleshooting steps, shamelessly copied from ServerFault:
- Maybe your Windows host is prepending your username with the wrong domain name. From the Windows machine, try to login using
localhost\simonas the username - Issue
sudo pdbedit -L(must run as root) and check if usersimonis listed. If so, set a trivial password (you can change it later) usingsmbpasswd simon - If user
simonis not listed, try to recreate it issuingsmbpasswd -a simon - If it does not work, delete the passwd file (it is named
passwd.tdb; for reference, it is found under/var/lib/samba/private/). Then, recreate your user issuingsmbpasswd -a simon - If it still not working, try to use the root account issuing
smbpasswd -a rootand check if you can login using the root user. Note: this is only a try. After having done with it, you must delete root's entry issuingsmbpasswd -x root - Your last resort is to increase the verbosity of logging and see if you can find clues there. For authentication attempts, edit or add the following line on your
smb.conf:log level = 2 winbind:5, check the logs with something liketail -f /var/log/samba/log*and try to login.
Hope some of it helps.
I had the same issue and finale found a solution as mentioned here.
AppArmor and Samba may interfere each other after updates or not being properly configured. The suggested solution is to activate complaint-mode for AppArmor's smbd:
sudo aa-complain /etc/apparmor.d/usr.sbin.smbd
However you could also add Site-specific additions in /etc/apparmor.d/local/usr.sbin.smbd to get access.
Windows 11 SMB Client cannot connect to SMB share - error 53 on `net view`
rhel - Can not access Samba server from Windows 11 after server reinstall - Stack Overflow
Samba Share inaccessible from Windows 11
I'm unable to access Samba shares from a Windows 11 Pro computer.
Videos
Ran into this issue with a new Windows 11 setup. Tried some different suggestions that did not work. Finally solved it without enabling Smb1 by manually adding the credentials to the credential manager:
- Run (ctrl+r): control /name Microsoft.CredentialManager
- Select Windows references.
- Add Windows reference.
- Enter your remote path with credentials.
Just for completeness' sake and I don't know why I didn't find it before,
the issue was resolved for me by disabling "Microsoft network client: Digitally sign communications (always)" in the group policies
To access the samba share, please pay attention to:
- You had to create a system user with the same username. In this case, please issue the following command:
useradd -s /sbin/nologin benjamin - If you are using a SELINUX-enabled system (eg: CentOS), try to temporarily disable it issuing
setenforce 0
EDIT: as the problem persists, try the following:
- maybe your Windows host is prepending your username with the wrong domain name. From the Windows machine, try to login using
localhost\benjaminas the username - issue
pdbedit -Land check if userbenjaminis listed. If so, set a trivial password (you can change it later) usingsmbpasswd benjamin - if user
benjaminis not listed, try to recreate it issuingsmbpasswd -a benjamin - if it does not work, delete the passwd file (it is named
passwd.tdb; for reference, in a CentOS 6.x system it is found under/var/lib/samba/private/). Then, recreate your user issuingsmbpasswd -a benjamin - if it still not working, try to use the root account issuing
smbpasswd -a rootand check if you can login using the root user. Note: this is only a try. After having done with it, you must delete root's entry issuingsmbpasswd -x root - Your last resort is to increase the verbosity of logging and see if you can find clues there. For authentication attempts, edit or add the following line on your smb.conf
log level = 2 winbind:5, check the logs with something liketail -f /var/log/samba/log*and try to login.
It is possible you need to add the user in question to your smb service in linux
sudo smbpasswd -a myuser
On Manjaro Linux, I set up some folder shares to try to make a media server. I can access those shares from another computer running Ubuntu just fine. A PC with a Windows Pro license isn't seeing either Linux computer. Is there some service that needs to be running on the Windows computers for this to work? I asked on the Manjaro side and didn't get anywhere.
Edit: I eventually came across this fix in this thread. I applied it to the Windows Pro boxes.
Machina10Reputation points
Oct 2, 2025, 6:49 PM
I lost access to the shares on my WD NAS after the KB5065426 update. I followed the usual advice to uninstall the update, but I failed to block its reinstallation, and now Win 11 will not allow me to uninstall it. So, here is what I did to regain access to my NAS shares, while leaving the KB5065426 update installed. (Leaving it installed is presumably better for security anyway.)
Step 1: Insure that the NAS utilizes SMB2 or SMB3, and not SMB1. Do this by checking the settings on the NAS or its documentation.
Step 2: Run powershell as an administrator and enter the command
Copy
Get -SMBClientConfiguration
Look at the results to ensure that "EnableInsecureGuestLogons" is set to "$true" and that "RequireSecuritySignature" is set to "$false". If needed, change these values, by entering the command
Copy
Set -SMBClientConfiguration -EnableInsecureGuestLogons $true
and the command
Copy
Set -SMBClientConfiguration -RequireSecuritySignature $false
Restart the machine if any settings were changed by powershell.
Step 3: If you don't know the exact name by which your NAS is known to your machine, find it by looking under "Network" in Windows Explorer. Then, in Explorer right click on "This PC" to choose "Add a network location". Then click on "Choose a custom network location" to bring up a dialog where you can enter the exact name and location of the share you want to access, in the form
\exact name of your NAS\exact name of the share
Then, click "browse". That should bring up a system response in which it acknowledges that it has found the share. Assign a drive letter to it. You should now have stable access to the share, using the assigned drive letter.
At least this worked for me on my personal machine. On my corporate laptop it did not work, since my organization does not allow me to choose a custom network location outside of the corporate network, and my NAS is not in the corporate network. So, for access to my NAS on my corporate machine, I have to set up cloud access to the NAS and get access to the share by browsing from the cloud.
Yes, this is all annoying and time-consuming. I'm grateful to others on this thread for their help. Probably my strategy will not work for everyone, since there are lots of variables in play here. MS should not have released an update that would cause so much trouble with networking.
Hi guys, I have been trying to troubleshoot for hours, searching Google, YouTube, etc. but I can’t get it to work. I have my share in unraid set to private and my user has read/write permissions, then I go to file explorer and see my unraid server called “Hemmaserver“ but when I click on it this error message pops up:
https://imgur.com/a/fVdZsUy
“\HEMMASERVER is not available. Maybe you don’t have permissions to use this resource. Ask the server’s administrator for help. Multiple simultaneous server connections or resources that are shared by the same user that uses more than one username are not allowed. Disconnect all previous connections to the server or the shared resources and try again.“ -Directly translated from Swedish to English as best I could.
I have gotten public shares to work, but private shares are still not accessible
I am using the tailscale plugin in case that is important and I am using the latest windows 11 version and unraid version 6.12.9
Hello,
I am trying to connect from Windows 11 to a shared folder on a Linux server (via SMB/Samba). The Linux share is configured for guest access (no username/password required).
When I try to access it with:
\...*****
Windows always prompts me for credentials.
If I use Command Prompt with:
net use T: \...***** "" /user:guest
I get the error:
System error 3227320323 has occurred.
On Windows 10, the same share works correctly with guest access, but on Windows 11 (version 10.0.26100.4946) it fails.
What I have already tried:
Added registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters] "AllowInsecureGuestAuth"=dword:00000001
Modified LSA keys:
restrictanonymous = 0 restrictanonymoussam = 0
Deleted all saved SMB sessions with net use * /delete /y.
Rebooted after every change.
Tried connecting with guest as username and blank password.
Tried . \guest and ANONYMOUS as usernames.
Enabled SMB 1.0/CIFS File Sharing Support under “Windows Features” (including SMB1 client).
Verified that the Linux side works fine (tested with another Windows 10 machine, it connects immediately without credentials).
Question:
Has Windows 11 completely disabled guest/anonymous SMB access in the latest builds? If not, what additional steps can I take to make Windows 11 connect to a Samba guest share (no password)?
Thank you for any help.
By doing some trial and error found the following:
In CMD:
E:\>NET USE Z: \\x.x.x.x\sharename youruserpassword /PERSISTENT:NO /USER:yourusername
Error de sistema 67.
Upgraded Samba to version 4.19.4, I had a look on man smb.conf and made the following changes (since it was configured for SMB2):
[global]
workgroup = BLUECROSS
client min protocol = SMB3
client max protocol = SMB3
client smb encrypt = required
client signing = required
server min protocol = SMB3
server max protocol = SMB3
ntlm auth = ntlmv2-only
It works now:
E:\>NET USE Z: \\x.x.x.x\sharename youruserpassword /PERSISTENT:NO /USER:yourusername
Se ha completado el comando correctamente.
E:\>DIR Z:
El volumen de la unidad Z es sharename
El número de serie del volumen es: 3C72-71F2
Directorio de Z:\
12/01/2024 10:28 p. m. <DIR> .
12/01/2024 10:28 p. m. <DIR> ..
14/12/2023 09:49 p. m. <DIR> Documents
14/12/2023 10:34 p. m. <DIR> Downloads
10/01/2024 12:09 a. m. <DIR> Music
07/03/2022 01:06 p. m. <DIR> Pictures
12/05/2023 07:43 p. m. <DIR> Videos
0 archivos 0 bytes
7 dirs 537,922,781,184 bytes libres
E:\>NET USE Z: /DELETE
Z: se ha eliminado.
Oher Settings on your Win11 that might help, I had these settings beforehand:
Configuration, Network & internet, Properties: Private (not public) Configuration, Network & internet, Avanced network settings, Advanced Shared settings: All Networks: 128 bit encryption
See 3.b from this article, https://seamusdemora.github.io/PiFormulae/FileShare.html
In short, you need to create a password for Samba, for example: $ sudo smbpasswd -a pi New SMB password: Retype new SMB password:
For Fedora 25, I am not familiar with fedora version numbers but I am with RHEL/Centos 7.x If you have selinux enabled by default, you might try as root setenforce 0 to temporarily put selinux into permissive mode until next reboot, see if this allows samba access to work. If so then it's a selinux problem, and in RHEL/Centos there is etc/samba/smb.conf.example which explains the samba related selinux commands needed to allow samba shares to work with selinux set to enforcing.
For your version of fedora, I would work off the /etc/samba/smb.conf.example.
for reference here is my working smb.conf from an older version of samba showing what i believe is the minimum required to get it to work. If you go too restrictive with settings then you can prevent a successful connection so sometimes it's best to not specify which generally means allow for all.
In your [myshare] take out allow hosts and valid users. Once samba working then consider adding restrictive measures like these as necessary.
[global]
# min protocol = SMB1 needed for winxp
min protocol = SMB1
# max protocol SMB2 needed to work with win10, unspecified for this older version of samba is smb1.
max protocol = SMB2
security = user
passdb backend = tdbsam
# map to guest = never prevents popup option, bad user allows popup in windows
map to guest = Bad User
[data]
path = /data
read only = No
# guest ok = no
# create mask = 660
# directory mask = 770
with guest ok = no, and map to guest bad user, will allow popup in windows giving anyone a chance to enter correct linux username and pw. map to guest never prevents popup, meaning the username of the windows user has to be the same as a valid local user in linux, per security=user. You likely do not need min/max protocol specified, I do in samba version 3.6. I don't know what verion of samba u have in fedora 25, if it's samba 3.x then try specifying the min/max protocol.
don't forget to do smbpasswd -a <username on your linux system.
I have a system that allows WinXP and Win7 to access samba as guests. A few entries that may help are:
[global]
security = user
null passwords = yes
map to guest = Bad Password
guest ok = Yes
I am using wide open shares on a trusted lan.
(Note: I am aware that there are security concerns with this.)
This worked for me to restore access
On your Window Client:
Disable the SMB client signing requirement:
gpedit.msc
Computer Configuration > Windows Settings > Security Settings> Local Policies > Security Options.
Microsoft network client: Digitally sign communications (always).
Select Disabled
I found the info here:
https://techcommunity.microsoft.com/t5/storage-at-microsoft/accessing-a-third-party-nas-with-smb-in-windows-11-24h2-may-fail/ba-p/4154300
I have problem to connect from Windows 11 to my sambashares on Ubuntu 22.04.3 LTS
but to my sambashare on Linux raspberrypi 6.1.21-v8+ the connection works.
When I tested with Windows 10 I was able to connect both Ubuntu’s and RaspberryPi’s samba shares without problems.
Raspberry Pi has Samba version 4.13.13-Debian installed and Ubuntu has Samba version 4.18.6 installed.
Can some help me with this issue?
You’ve not posted the error.
Are you restricting shares to IPs or hostname?
Is it protected with a password?

