Unsolved
This post is more than 5 years old
8 Posts
0
627
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
tyyyoung13
8 Posts
0
July 5th, 2014 07:00
yep, perfect. Thank you dynamox!
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
July 5th, 2014 07:00
server_usermapper server_2 -Export -user user.export
then cat/grep user.export
Rainer_EMC
8.6K Posts
0
July 6th, 2014 02:00
Only if usermapper is used
If you dump secmap via server_secmap you get all other mappings as well