Fangtooth upgrade - SMB system error 86 has occured (existing and new shares)

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:

  1. Has Samba Authentication enabled in the user credentials
  2. 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.

Related bug report:

Now a different error :slight_smile:

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.

I’ve found that the ‘Administrators Group’ for the SMB Service is ‘mysql’. I don’t know if that is correct or how it happened!

Should it be something else and how can I change it?

Do you have Guest access enabled on the share in question? SharesEdit (on the share) → Advanced OptionsAllow Guest Access

I recommend disabling it.

I am not sure what you mean here, can you post a screenshot to clear things up?

As requested the image of the admin user on the SMB service.

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.

Thanks :slight_smile:
Would the dataset ACLs prevent authentication?

When I am trying to login with my account ‘paul’ I get this error in the logs

Logon ID: '0'
Logon Type: 3
Local Address: ipv4:192.168.0.49:445
Remote Address: ipv4:192.168.0.175:55064
Service Description: SMB2
Auth Description: Null
Client Domain: .
Client Account: paul
Workstation: DESKTOP-LGM9K06
Became Account: Null
Became Domain: Null
Became Sid: Null
Mapped Account: paul
Mapped Domain: .
Netlogon Computer: Null
Netlogon Trust Account: Null
Netlogon Negotiate Flags: '0x00000000'
Netlogon Secure Channel Type: 0
Netlogon Trust Account Sid: Null
Password Type: NTLMv2
Client Policy Access Check: Null
Server Policy Access Check: Null
Vers:
  Major: 0
  Minor: 1
Result:
  Type: NTSTATUS
  Value Raw: 3221225572
  Value Parsed: NT_STATUS_NO_SUCH_USER

That specific error apparently means no “passdb entry”, whatever that means:

Unfortunately, I don’t know how to guide you further.

Thank you anyway for your help so far. I will try a few things when I get some time.

There is something inherently broken. Run into same set of issues.
What helped me was to:

  1. 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.
  2. 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.

1 Like