Not that I don't like inodes, :) but it's also in /ver/log/messages
grep '<DN>' /var/log/messages | grep mapped |cut -f10- -d' ' | uniq
for example using my DN
grep '/C=UK/O=eScience/OU=Manchester/L=HEP/CN=alessandra forti'
/var/log/messages|grep mapped |cut -f10- -d' ' | uniq
mapped to atlas185 (15185/1002)
I'm atlas185. cut -f10 is arbitrary to isolate the last bit as some DN
give different results. uniq is because you'll get more than one entry.
cheers
alessandra
Simon George wrote:
> Hi,
>
> does anyone know if there is a command or file which gives the current
> DN to local account mappings on a CE?
>
> I am looking for something better than scraping it from the gatekeeper
> logs.
>
> Thanks,
> Simon
--
Alessandra Forti - NorthGrid Technical Coordinator
http://www.hep.manchester.ac.uk/computing/tier2
Well you'll still need a tray. (Eddie Izzard)
|