LCMAPS_BAN_FQAN.MOD(8)
π LCMAPS_BAN_FQAN.MOD β the ban-hammer bestie π
okay so welcome to lcmaps_ban_fqan.mod, section 8 of the manual (Site Access Control vibes β¨). this is the LCMAPS plugin that bans a user based on any of its FQANs. yes. it's giving bouncer-at-the-club energy and honestly? iconic.
β¨ SYNOPSIS β¨
lcmaps_ban_fqan.mod [-banmapfile banning file]
[-no_wildcard|-disablewildcard]
like. that's the whole shape of it. two optional flags, one job. π
πΈ DESCRIPTION πΈ
so here's the tea, bestie π β this plugin is a banning plugin. its whole personality is giving LCMAPS a credential banning feature based on VOMS FQANs.
what it does: it reads a gridmapfile π and checks whether any of the registered FQANs shows up on it. if even one of them is on the list?
boom. the plug-in fails with LCMAPS_MOD_FAIL. that's a ban, bestie. no cap. π
and if the plugin succeeds and no FQAN appears in the banning file? then it wraps up with LCMAPS_MOD_SUCCESS. slay. β¨
also important, and this is the part people get wrong: when there are no FQANs at all (and yes, that includes the case when the VOMS credentials have expired), the plugin also finishes with LCMAPS_MOD_SUCCESS. π«Ά
lowkey a glow-up note: versions before 1.6.2 would incorrectly fail in those cases. so if you're on something ancient, that's on you, not on the plugin. π
π OPTIONS π
-banmapfileban-mapfile β sets the path to the banning file, aka the list of FQANs that this plugin has to ban. and listen, it is strongly advised to set an absolute path to the ban-mapfile so you don't accidentally use the wrong file (or the wrong file path, iykyk π). and in a (setuid-)root application, relative paths get taken with respect to/etc/grid-security/. so. yeah. absolute path. do it. π-no_wildcard,-disablewildcardβ flip this on and the plug-in will only match exact FQANs. translation:/dteam*will not match. periodt. π
β RETURN VALUES β
LCMAPS_MOD_SUCCESSβ success. we love to see it. πLCMAPS_MOD_FAILβ failure, or banned. either way, not the vibe. π«
π BUGS π
found something cursed? please report any errors to the Nikhef Grid Middleware Security Team <grid-mw-security-support@nikhef.nl>. they wanna know. fr fr. π«Ά
π SEE ALSO π
lcmaps.db(5)lcmaps(3)
π AUTHORS π
LCMAPS and the LCMAPS plug-ins were written by the Grid Middleware Security Team <grid-mw-security@nikhef.nl>. absolute main characters. respect. π
and that's the whole page, bestie π¦ β brought to you by Stichting FOM/Nikhef, dated February 9, 2015, living in section 8 of the manual as LCMAPS_BAN_FQAN.MOD(8). mwah. go ban responsibly. π
β¨
π¦ where this page comes from
- debian bookworm: lcmaps-plugins-voms 1.7.1-1+b2 Β· Apache-2.0
- debian trixie: lcmaps-plugins-voms 1.7.1-2 Β· Apache-2.0
- ubuntu jammy: lcmaps-plugins-voms 1.7.1-1 Β· Apache-2.0
- ubuntu noble: lcmaps-plugins-voms 1.7.1-1ubuntu2 Β· Apache-2.0
- ubuntu questing: lcmaps-plugins-voms 1.7.1-2
- ubuntu resolute: lcmaps-plugins-voms 1.7.1-2build1 Β· Apache-2.0
- ubuntu stonking: lcmaps-plugins-voms 1.7.1-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms