Hi, I currently have TrueNAS on a VM within PVE. Whenever I boot into 25.04-RC.1, I am unable to access my SMB share from anything (Linux server, Windows desktop). The only way I am able to access the SMB share is if I boot to the previous version (24.10.2). I am at a loss; my share/filesystem ACLs are the same, the share name is the same, the only thing that should theoretically be different is the version I upgraded to. I did check the release notes and it mentioned auxiliary parameters, which I do not seem to have.
Like I said earlier, when I boot to 24.10.2 while keeping everything the same, I am able to connect just fine. What am I doing wrong�
Thank you in advance!
We had one additional bug filed against RC1 where users had configured SMB accounts with empty passwords (unexpected configuration that wasnât caught in validation) which resulted in failure to generate sambaâs passdb.tdb file. Maybe run command midclt call user.query '[["smb", "=", true]]' '{"select": ["username", "unixhash"]}' | jq and review results for users whose unixhash is "*". If you have one, either turn off SMB for the account or set a valid password.
THANK YOU!!! That was the issue. I had one user that had the unixhash you described as a password. Once I deleted that user, I rebooted the machine (as it still wasnât working). Once it rebooted, I checked and I can now access my share.
class SMBUserMissingHashAlertClass(AlertClass, SimpleOneShotAlertClass):
category = AlertCategory.SHARING
level = AlertLevel.WARNING
title = "SMB user is missing required password hash"
text = (
"The following users lack valid password hashes. "
"This may occur if the TrueNAS configuration was restored without the " "secret seed and may be fixed by resetting the user password through the "
"TrueNAS UI or API: %(entries)s"
)
These issues started to appear in 25.04 because the code for how SMB users are generated was significantly refactored to improve performance, and during BETA / RC exposed some unanticipated configurations.