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

nss_winbind can return results for passdb-backed local users

Description

nss_winbind shouldn’t be giving results / short-circuit when a user is local and request is getpwnam, getpwuid, getgrnam, getgrgid.

Currently, if you delete a local group from `/etc/group` file and it has an entry in samba’s group_mapping.tdb, then run getgrnam on it, nss_winbind will return a result. This is incorrect.

Problem/Justification

None

Impact

None

Activity

Show:

Automation for JiraFebruary 9, 2023 at 7:22 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 WalkerFebruary 9, 2023 at 7:22 PM

Andrew WalkerFebruary 9, 2023 at 5:58 PM

Automation for JiraFebruary 9, 2023 at 1:31 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

Complete

Details

Assignee

Reporter

Labels

Impact

Medium

Time remaining

0m

Components

Fix versions

Priority

Katalon Platform

Created February 9, 2023 at 1:31 PM
Updated February 27, 2025 at 9:39 PM
Resolved February 9, 2023 at 7:22 PM