NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

How to List vfiler local groups with all domain users on 7 mode ?

explorer12
5,102 Views

 

Hi

 

 

7-mode netapp


Could anyone help me with cli command or script script listing all vfiler user groups with all accounts (domain and local ) which belong to those groups ?

 

 

 


Kind Regards


explorer

2 REPLIES 2

Sahana
5,069 Views

Hi,

 

Refer https://library.netapp.com/ecmdocs/ECMP1155684/html/GUID-89A9ACCA-501C-42DB-949B-B57B9AFBBB98.html

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

explorer12
5,042 Views

 

Unfortunately those commands which you linked won't  help much

 

vfiler run filer_name useradmin domainuser list -g group_name

 

Thhis command above will display just SIDs for one of the groups  Unfortunately cifs lookup "sid" doesn't show names and displays error: STATUS_NONE_MAPPED

 

I have hundrets of local groups on vFiler so anyway it can be done one by one but needs to be powershell scripted etc

I need to list all domain accounts which are added to those local groups on vFiler

It's like one user/home directory has its own local group and to some of those local groups several domain accunts were added, i need to list them for each local vFiler user group.

 

Kind Regards

 

Public