However, I could not simply reverse the order of the LCMAPS plugins as this would undo all the good which VOMS brings and move everyone back to a single fixed or pool account mapping no matter what their VOMS credentials (this would probably have affected me worse than anyone as I flit between atlas, atlas/Role=production, vo.scotgrid.ac.uk and dteam!).
So, for local users grid-proxy-init seemed to be the way to go, even if I knew this would come back and be a problem later. However, later became earlier as soon as I started to test the gLite-WMS - here it turns out you must use a VOMS proxy. Simple grid proxies just don't work anymore.
Finally, puzzling over the very poor LCMAPS documentation, and staring at the configuration script I managed to solve the problem by:
- First running a local account plugin against a grid-mapfile which only contains our local user accounts.
- Then running the VOMS plugins as usual.
- Finally, running the grid-mapfile plugin, against the usual /etc/grid-security/grid-mapfile.
And, in the end, I was able to keep myself out of the local user grid-mapfile, so I have the full array of VOMS roles for myself, while the local users are cosily tucked up in their local account areas.
4 comments:
Hi, I just want to comment that it's a feature not a bug that you can't run the same plugin twice ;-)
Internally in LCMAPS it looking up the plugins by their names, if I'm not mistaken the aliases only.
Try this again with the same plugin, but with a different alias in the definition area of the lcmaps.db file.
Since this post was written, the documentation was overhauled completely and now features more examples and explanations on why things work they way they do. Please have a look at https://www.nikhef.nl/grid/gridwiki/index.php/LCMAPS for LCMAPS specific documentation. The over-all documentation of the current Site Access Control suite (LCAS, LCMAPS, gLExec and upcoming products such as the EES) can always be found at https://www.nikhef.nl/grid/lcaslcmaps/.
Any questions (as well as suggestions of course!) are always welcome at grid-mw-security .at. nikhef.nl, or via the gLite support channels.
Enjoy! DavidG.
Great - I've bookmarked. Thanks, David.
Graeme
Post a Comment