Ah, the joys of LDAP:
owen maroney wrote:
> VO=atlas
> VO_SERVER=grid-vo.nikhef.nl
>
> ldapsearch -LLL -h $VO_SERVER -p 389 -x -b "o=$VO,dc=eu-datagrid,dc=org"
> "(ou=lc
> gadmin)" member | sed -n '/^member/{s/^.*cn=//;s/,.*$//g;p;}' | while
> read I
> do
> echo -n "$I: "
> ldapsearch -LLL -h $VO_SERVER -p 389 -x -b
> "cn=$I,ou=People,o=$VO,dc=eu-datagrid
> ,dc=org" mail | sed -n 's/mail: //p'
> done
Yet another one that just rolls off the tongue. Has anyone thought of
just packing all this information into just about whatever format can be
thought of and then indexing it with a search engine? "Atlas Manager
Email" would be a good search string, I think.
Ian.
|