As mentioned at https://www.truenas.com/community/threads/truenas-12-0-reaches-prime-time.92513/post-640851, I upgraded from 12.0-U2.1 to 12.0-U3 and lost my SMB shares.
I have various SMB shares configured but none visible after the upgrade to 12.0-U3:
% smbclient -U user //127.0.0.1/home Enter WORKGROUP\user password: tree connect failed: NT_STATUS_BAD_NETWORK_NAME % smbclient -U user -L 127.0.0.1 Enter WORKGROUP\user's password: Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (NAS Server)
My various shares, including the one I tried to connect to first up should be there, but were missing.
I tried rebooting and tried restarting samba_server and saw no difference.
Was just about to rollback to U2.1 but I went and edited all shares one-by-one, resaving without making any changes, and this brought them back and visible to smbclient -L. Haven't yet rebooted to check if this fix persists.
I didn't check the contents of /usr/local/etc/smb4_share.conf prior to editing my shares, unfortunately.