Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-110189

SMB shares unavailable after upgrade to 12.0-U3 from 12.0-U2.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 12.0-U3
    • Fix Version/s: N/A
    • Component/s: SMB

      Description

      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.

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  releng Triage Team
                  Reporter:
                  davidjb davidjb
                  Votes:
                  1 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: