Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1665

March 9th, 2011 13:00

List out NAS share users

Hello all,

I 'd  like to list out all the NAS share owners on my Celerra NS704G box. Is there a command i can use on CLI to list this out?

The whole purpose  of doing this is to make sure all the CIFS users 're made aware of the performance hit they 'll  take from the DM reboot.  I  'll be prforming this during the businees hours ( late evening perhaps) .

Appreciate if any one can help me find this out. Thank you for your time !

4 Operator

 • 

8.6K Posts

March 10th, 2011 03:00

I don't think the owners would help you - if you do need that you need to get it from the Windows side

From the Celerra it would be complicated through server_cifssupport

I think it makes more sees to see who is currently connected via server_cifs audit or the MMC

2 Intern

 • 

261 Posts

March 9th, 2011 14:00

thanks Dynamox- I was going through your post https://community.emc.com/message/467022#467022, but did not find a link to download it . Where can i get the sharedup utility tool?

Is there a DOC available , i can go through to understand how it works?

9 Legend

 • 

20.4K Posts

March 9th, 2011 14:00

take a look at sharedup utility, you can use it to dump information from the CIFS server and then see who has permissions to each share.

17 Posts

March 9th, 2011 15:00

Sharedup utility can be found in the Tools and Applications CD or ISO. It's available on powerlink.

9 Legend

 • 

20.4K Posts

March 9th, 2011 17:00

9 Legend

 • 

20.4K Posts

March 10th, 2011 03:00

i think sharedup output is very helpful if you are trying to notify users of impending maintenance work. It gives you active directory group/user names so you know who to notify. Obviously that only works if you set ACLs on shares, some shops leave share ACLs wide open and only use folder/file ACLs.

366 Posts

March 10th, 2011 05:00

Hi,

If you want to see all users that are connected to the shares, you can use the MMC, and sort for the users column, or use the server_cifs -audit option like this :

$ server_cifs server_2 -o audit |grep NTcred
||| Uid=0x3f NTcred(0x00d2665c08 RC=1 NTLM Capa=0x401) 'BRCSLAB\gustavo' CHECKER
||| Uid=0x40 NTcred(0x00cc471c08 RC=2 KERBEROS Capa=0x2) 'BRCSLAB\gustavo' CHECKER
||| Uid=0x43 NTcred(0x00ce014008 RC=3 KERBEROS Capa=0x2) 'BRCSLAB\camina' CHECKER
||| Uid=0x3f NTcred(0x00cc6d9008 RC=3 KERBEROS Capa=0x2) 'BRCSLAB\marcos' CHECKER
||| Uid=0x40 NTcred(0x00cc4a6408 RC=3 KERBEROS Capa=0x2) 'BRCSLAB\gazza' CHECKER
||| Uid=0x42 NTcred(0x00b5a04808 RC=2 KERBEROS Capa=0x2) 'BRCSLAB\gustavo_2' CHECKER
||| Uid=0x3f NTcred(0x0002f33808 RC=3 KERBEROS Capa=0x2) 'BRCSLAB\mpfsi' CHECKER

You can also parse this output to list only one entry per user using 'awk' and 'sort'.

If the CIFS servers are running on VDM's, replace the 'server_2' per the VDM name.

Gustavo Barreto.

2 Intern

 • 

261 Posts

March 10th, 2011 14:00

Thanks you all for pitching in and helping me on this.

I 've decided to go for the reboot during non productive hour and 've all the users connected at that moment notified of the activity.

Thank you Gustavo and Rainer. Dynamox - i very much appreciate your advise. Thank you very much  for making me aware of " sharedup " utility.

Though, i am finding it a little difficult to use, but, i am pretty sure I will learn it and make use of it.

All 've a great evening!

No Events found!

Top