# lcgdm-mkgridmap.conf: map DN to VO (cf. edg-mkgridmap.conf)

# Authorized users
auth ldap://lcg-registrar.cern.ch/ou=users,o=registrar,dc=lcg,dc=org

#-----------------------------------------------------------------------------
# ATLAS
# Map VO members (Role) atlas
group vomss://lcg-voms.cern.ch:8443/voms/atlas?/atlas/Role=lcgadmin atlas

# Map VO members  (root Group) atlas
group vomss://lcg-voms.cern.ch:8443/voms/atlas?/atlas/lcg1 atlas

# If all above fails map from LDAP
# LDAP lines for all VOs (as we do today):
group ldap://grid-vo.nikhef.nl/ou=lcgadmin,o=atlas,dc=eu-datagrid,dc=org atlas
group ldap://grid-vo.nikhef.nl/ou=lcg1,o=atlas,dc=eu-datagrid,dc=org atlas

#-----------------------------------------------------------------------------
# ALICE
# Map VO members (Role) alice
group vomss://lcg-voms.cern.ch:8443/voms/alice?/alice/Role=lcgadmin alice

# Map VO members  (root Group) alice
group vomss://lcg-voms.cern.ch:8443/voms/alice?/alice alice

# If all above fails map from LDAP
# LDAP lines for all VOs (as we do today):
group ldap://grid-vo.nikhef.nl/ou=lcgadmin,o=alice,dc=eu-datagrid,dc=org alice
group ldap://grid-vo.nikhef.nl/ou=lcg1,o=alice,dc=eu-datagrid,dc=org alice

#-----------------------------------------------------------------------------
# CMS
# Map VO members (Role) cms
group vomss://lcg-voms.cern.ch:8443/voms/cms?/cms/Role=lcgadmin cms

# Map VO members  (root Group) cms
group vomss://lcg-voms.cern.ch:8443/voms/cms?/cms cms

# If all above fails map from LDAP
# LDAP lines for all VOs (as we do today):
group ldap://grid-vo.nikhef.nl/ou=lcgadmin,o=cms,dc=eu-datagrid,dc=org cms
group ldap://grid-vo.nikhef.nl/ou=lcg1,o=cms,dc=eu-datagrid,dc=org cms

#-----------------------------------------------------------------------------
# LHCb
# Map VO members (Role) lhcb
group vomss://lcg-voms.cern.ch:8443/voms/lhcb?/lhcb/Role=lcgadmin lhcb

# Map VO members  (root Group) lhcb
group vomss://lcg-voms.cern.ch:8443/voms/lhcb?/lhcb lhcb

# If all above fails map from LDAP
# LDAP lines for all VOs (as we do today):
group ldap://grid-vo.nikhef.nl/ou=lcgadmin,o=lhcb,dc=eu-datagrid,dc=org lhcb
group ldap://grid-vo.nikhef.nl/ou=lcg1,o=lhcb,dc=eu-datagrid,dc=org lhcb

#-----------------------------------------------------------------------------
# DTEAM
# Map VO members (Role) dteam
group vomss://lcg-voms.cern.ch:8443/voms/dteam?/dteam/Role=lcgadmin dteam

# Map VO members  (root Group) dteam
group vomss://lcg-voms.cern.ch:8443/voms/dteam?/dteam dteam

# If all above fails map from LDAP
# LDAP lines for all VOs (as we do today):
group ldap://lcg-vo.cern.ch/ou=lcg1,o=dteam,dc=lcg,dc=org dteam
group ldap://lcg-vo.cern.ch/ou=lcgadmin,o=dteam,dc=lcg,dc=org dteam

#-----------------------------------------------------------------------------
# SixT
# Map VO members  (root Group) sixt (no lcgadmin for this VO).
group vomss://lcg-voms.cern.ch:8443/voms/sixt?/sixt sixt

# If all above fails map from LDAP
# LDAP lines for all VOs (as we do today):
group ldap://lcg-vo.cern.ch/ou=lcg1,o=sixt,dc=lcg,dc=org sixt

#-----------------------------------------------------------------------------
# NA48
#Map VO memebers (Role) admin
group vomss://na48-voms.cern.ch:8443/voms/na48?/na48/Role=admin na48

# Map VO members  (all users) na48
group vomss://na48-voms.cern.ch:8443/voms/na48?/na48 na48

#-----------------------------------------------------------------------------
# Local grid-mapfile to import and overide all the above information.
# eg, gmf_local /opt/edg/etc/grid-mapfile-local

gmf_local /opt/lcg/etc/lcgdm-mapfile-local

