Start a Conversation

Unsolved

This post is more than 5 years old

T

627

July 5th, 2014 06:00

VNX File question: determine a file/dir's owner in AD based on its UID?

Not sure if this is an intelligent question, so let's get that out of the way.  But what I'm trying to do is come up with a command that displays information about the owner of a given file, using Active Directory information, based on that file's UID information as displayed on the control station.

For example.  Given the 'ls -al' output below

1268967 27768 -rw-r--r--   1 39436    32840    28409228 Jun  1  2007 ./PROD/LTBNA/content_storage_01/00013e2c/80/23/b3/3b.pdf

1268978 27696 -rw-r--r--   1 39436    32840    28328868 Jun  1  2007 ./PROD/LTBNA/content_storage_01/00013e2c/80/23/b3/3c.pdf

1272373 24360 -rw-r--r--   1 39436    32840    24918019 Jun  1  2007 ./PROD/LTBNA/content_storage_01/00013e2c/80/23/b3/5a.pdf

... I'd love to come up with a command that allows me to query against UID 39436 and get the AD domain and user that owns those files, i.e. "SOMEDOMAIN\John Doe"  or something similar.

Is that doable, using CLI?

Thx

July 5th, 2014 07:00

yep, perfect. Thank you dynamox! 

2 Intern

 • 

20.4K Posts

July 5th, 2014 07:00

server_usermapper server_2 -Export -user user.export

then cat/grep user.export

8.6K Posts

July 6th, 2014 02:00

Only if usermapper is used

If you dump secmap via server_secmap you get all other mappings as well

No Events found!

Top