Users without password break SMB in 25.04 RC1

Description

To reproduce:

  1. Be on 24.10 (optional probably)

  2. Create a user without password (leaving SMB Userticked, as that is the default)

  3. Upgrade to 25.04-RC.1 (if #1)

  4. SMB fails, nobody can use a share

Stack trace:

This worked on 24.10, so this is clearly a bug/regression, and one that people can easily find themselves in, and have broken SMB after booting up, with no apparent reason to them.

Workaround:

After unticking SMB User from the users with Disable Password ticked, and then getting smb.synchronize_passdb` to run again, the issue is mitigated.

Expected behavior:

I don’t know how password-less users should be treated SMB-wise (in my case I don’t think I actually used those users for that, just didn’t explicitly untick the option), but in either case it shouldn’t be breaking the whole service. Either make that somehow work like it did before (not sure if these users could actually connect over SMB in this situation), or make it impossible to select such combo of options (but then some migration script should take care of existing users with these two parameters set this way).

Problem/Justification

After upgrading to 25.04-RC.1, the SMB stopped working. Turns out smb.synchronize_passdb bails out due to existence of users without password, but with "SMB User" ticked. No passdb means that nobody can log in over SMB: all shares are broken. "SMB User" is ticked by default, so anyone with a user created without password will likely have it ticked and face breakage.

Impact

None

Activity

Show:

Andrew Walker last week
Edited

It’s already addressed for 25.04.1. That said, I do recommend properly disabling passwords (e.g. use the checkbox) for accounts that shouldn’t have passwords.

Christopher Manns last week

This issue continues to occur in the 25.04 release version.

Bug Clerk April 13, 2025 at 10:59 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Andrew Walker April 13, 2025 at 10:59 PM

This is already fixed for 25.04.

Bug Clerk April 13, 2025 at 7:59 PM

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

Duplicate

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

More fields

Katalon Platform

Created April 13, 2025 at 7:54 PM
Updated last week
Resolved April 13, 2025 at 10:59 PM