SMB Username/Password incorrect after every TrueNAS reboot

Each time I reboot the TrueNAS Scale server, no user can login over SMB anymore. Windows says: Username or password incorrect for every single user configures.
Resetting the password over the Web UI fixes the login until the next server restart.

TrueNAS Version 25.04.0

1 Like

Another thing: This started happening with the 25.04 version. If I change my password to the same it was in the WebUI Windows doesn’t even ask for the password, since it was correct in the first place.

Known issue c.f. release notes about user accounts with empty passwords breaking SMB authentication. To be fixed in 25.04.1.

4 Likes

Good that this issue is being addressed. Just to be clear: All the users that had this issue did not have empty passwords. Is this still the same issue?

1 Like

Yes. One broken user account breaks SMB passdb generation.

2 Likes

Thanks for clarifying this so quickly.

This is of course a completely superfluous problem.

This is why we have now spent weeks unnecessarily testing all the settings for smb/cifs, even though everything worked before.

As a result, settings were changed even though it was not necessary. Sometimes these changes can no longer be traced back and are difficult to correct.

The update to 25.04 has caused a lot of confusion.

I am looking forward to 25.04.1.

I have the same problem but the only two users (besides root and truenas_admin) look good. How do I find out, which user breaks the SMB password DB?
Community Edition 25.04.2.4

What is the same problem? Provide the error message. This particular issue should not be present in the current code base.

Well, it is.

The error:

When trying to access an SMB Share, despite correct credentials, windows explorer gives the message that thr password is incorrect. Resetting the TrueNAS password of the user that was used to try and connect to the SMB share via the TrueNAS web interface to the same value as before leads to successful connection.

Is there an alert when you boot the server?

I found out that the WebDAV app breaks the credentials. After removing it, everything runs fine.

Hi,

For a few months, I was able to use the Truenas without any issues, but 2 weeks ago there was another power outage and I needed to restart the server.

Right now I needed to enter the smb users’ credentials on the server and remapped the drives in Windows(I didn’t change the credentials at that time, so I didn’t need to configure network scanning separately).

I will try your solution when I will be near my server.

Regards,

Sławomir Halota