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

SMB User/Group not showing up correctly in Windows clients after updating TrueNAS netbios name

    XMLWordPrintable

    Details

    • Impact:
      High

      Description

      Fresh install of Truenas 12.0U2.1

      Add new group "group1"

      Add new user "user1"

      Add new dataset "ds1"

      Add new smb share "ds1"

      Set as "restricted" ACL with user1/group1 applied. 

      Set SMB service netbios name "server1"

      Now from Windows client logged in as "user1", mount "ds1" and add a file.

      Right click new file > properties > security

      I see 1x entry for "SERVER1\user1" displayed correctly

      but group shows as "Account Unknown (incorrect id)"

      -----------------------------

      If I revert netbios name, I see:

      1x entry for "SERVER1\group1" displayed correctly

      but user shows as "Account Unknown (incorrect id)"

       

      Ref link I found:

      https://www.truenas.com/community/threads/group-permissions-not-showing-up-in-windows-10-client.71337/ 

      Instructions from ^ forum post seem to resolve the issue. 

      service samba_server stop
      mv /var/db/system/samba4/group_mapping.tdb /var/db/system/samba4/group_mapping.tdb.bak
      service ix-pre-samba start
      service samba_server restart
      

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  releng Triage Team
                  Reporter:
                  cryptac0 Not Available
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: