I’ve just upgraded from 24.10.1 to 25.04 and my only SMB share is inaccessible. When I try to map a network drive on a Windows client I get the error:
C:\Users\Me>net use z: \\192.168.0.49\files
Enter the username for '192.168.0.49': me
Enter the password for 192.168.0.49:
System error 86 has occurred.
The specified network password is not correct.
I have created a new share with the same result.
I am using a bridged network adapter to allow a Truenas hosted Instance to connect to the SMB share.
Does anyone have any ideas for troubleshooting and fixing this? Thanks
Do you have any user account on your TrueNAS system that checks both these two boxes:
Has Samba Authentication enabled in the user credentials
Has an no password set/empty password
Again, my question is if you have any account at all that matches both of the above.
The existence of such an account will prevent ALL accounts from logging in, since 25.04.
So I discovered one users ‘emby’ which was a SMB user without a password. I’ve changed that to a non-SMB user now. The only SMB user is my named account ‘paul’ which has a password.
Now the error is:
System error 1272 has occurred.
You can't access this shared folder because your organization's security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network.
The only way I can get into my SMB share at the moment is to enable guest access on the share, make my ‘paul’ account the guest in SMB advanced settings and change network security setting on my client “Enable insecure guest logons”.
Not ideal but I needed urgent access to some of my files.
Okay, that mysql group is peculiar, not sure what to make of that other than that it’s not normal. I don’t think it’s related to your guest access though.
Guest usage will be an uphill battle. Microsoft doesn’t want people to use guest access and consequently, neither does iXsystems in TrueNAS. I highly recommend you try to solve that underlying issue, likely due to incorrect Dataset ACLs related to the share in question.
There is something inherently broken. Run into same set of issues.
What helped me was to:
remove SMB user indication for one password-less user ← I tried that because I was getting error 1219 at the beginning and I found it as one of the potential problems, but on it’s own it was not enough and I “moved” just to error 86.
go to the user in credentials and literally reenter the same password again for the impacted users.
I have 2 shares, both with the same issue - recreating one share (same ACL applied afterwards) did not help, but adjusting the users as above make both of the shares work.
Would LOVE to know what was the problem and how to avoid it.