SMB share not working without manual user password update

I have exactly the same issue, after reboot the samba share does not work unless I update the user’s password. When trying to login the error is: unknown user name or bad password

anyone solved this issue yet?

I am on version: TrueNAS-13.0-U6.1

So still haven’t figured this one yet, but I did notice that changing any user’s password resolves the SMB connection issue for all users.

I have updated the truenas to latest stable version: 13.0-U6.2

Still the smb shares remain inaccessible after a server restart.

Yes, it’s generally solved. The passdb entries not being generated typically means something is breaking during system dataset setup (e.g. deeper issue related to your server configuration that you might be able to fix yourself). /var/log/middlewared.log maybe will shed some insight.

After some investigation I noticed that I had issues because I never removed a dataset (I migrated to a new dataset in the past) After removing the pool alltogether those errors were gone. But unfortunately there is one error that persists:

middlewared.service_exception.CallError: [EFAULT] net conf addshare [share_name] failed with error: ERROR: share share_name already exists.

I already checked the smb configs and didn’t find anything extraordinary there. Now I can no longer access the private share after trying to re-create it via UI. I tried removing and re-creating. Not even after resetting the username password. :frowning:

I am able to access the public smb share without issues, which is on the same pool and dataset.