Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

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

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

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk April 15, 2021 at 10:31 PM

Bug Clerk March 15, 2021 at 1:59 PM

Complete

Details

Assignee

Reporter

Impact

High

Components

Priority

More fields

Katalon Platform

Created March 15, 2021 at 9:42 AM
Updated July 1, 2022 at 5:13 PM
Resolved April 26, 2021 at 2:42 PM

Flag notifications