The dcacheVoms2Gplasma.conf file

The dcacheVoms2Gplasma.conf defines which files will be generated, which abstract users will be mapped and which uid and gid will be used for each abstract user.

# Specify the location of the generated grid-vorolemap file
vorolemap /etc/grid-security/grid-vorolemap

# Specify the location of the generated storage-authzdb file
authzdb /etc/grid-security/storage-authzdb

# Import existing (site-local) gridmap file into the generated data.
gmf_local /etc/grid-mapfile 001


# Mapping members of the dteam VO to dteam001 uid=18118 gid=2688
group https://lxbra2309.cern.ch:8443/voms/dteam/services/VOMSCompatibility?method=getGridmapUsers&container=/dteam dteam001 18118 2688


# Mapping members of the dteam VO with production Role to prddtm01 uid=50501 gid=2689
group https://lxbra2309.cern.ch:8443/voms/dteam/services/VOMSCompatibility?method=getGridmapUsers&container=/dteam/Role=production prddtm01 50501 2689


# Mapping members of the dteam VO with lcgadmin Role to sgmdtm01 uid=60501 gid=2690
group https://lxbra2309.cern.ch:8443/voms/dteam/services/VOMSCompatibility?method=getGridmapUsers&container=/dteam/Role=lcgadmin sgmdtm01 60501 2690


# Mapping members of the ops VO to ops001 uid=45001 gid=45000
group https://voms.cern.ch:8443/voms/ops/services/VOMSCompatibility?method=getGridmapUsers&container=/ops ops001 45001 45000


# Mapping members of the ops VO with lcgadmin Role to sgmops01 uid=60701 gid=46001
group https://voms.cern.ch:8443/voms/ops/services/VOMSCompatibility?method=getGridmapUsers&container=/ops/Role=lcgadmin sgmops01 60701 46001

If you are generating this file by hand, you will need to know the VOMS server URI. The following transaction illustrates how to convert the normal vomss: URI into the corresponding value for the dcacheVoms2Gplasma.conf file.

[user@ui-node] $ thisvoserver="vomss://cclcgvomsli01.in2p3.fr:8443/voms/biomed?/biomed/"
[user@ui-node] $ $transvoserver=$(echo $thisvoserver | sed -e "s/\/$//" | sed -e "s/vomss/https/" | sed -e "s/\?/\/services\/VOMSCompatibility\?method=getGridmapUsers\&container=/" )
[user@ui-node] $ $echo $transvoserver 
https://cclcgvomsli01.in2p3.fr:8443/voms/biomed/services/VOMSCompatibility?method=getGridmapUsers&container=/biomed