I am trying to run a simple python script to enumerate all users of a group (domain group). This works fine for me on rocky/redhat but when I try it from truenas gr_mem is always an empty list.
Is there anything i can setup in Truenas so that it returns all members?
Code:
import grp grp.getgrnam('media-adms') # Result is # grp.struct_group(gr_name='media-adms', gr_passwd='x', gr_gid=***, gr_mem=[])
Is there anything i can setup in Truenas so that it returns all members?