Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XrdSecgsi vomsat and vomsfun don't behave as documented #1817

Open
esindril opened this issue Nov 3, 2022 · 0 comments
Open

XrdSecgsi vomsat and vomsfun don't behave as documented #1817

esindril opened this issue Nov 3, 2022 · 0 comments
Assignees
Labels
Documentation Issue Missing or incorrect documentation

Comments

@esindril
Copy link
Contributor

esindril commented Nov 3, 2022

Hi,

While trying to enable the extraction of the VOMS attributes from certificates for gsi authentication, from the documentation it seems that setting the vomsat to extract should be sufficient to also enable the vomsfun to be set to default.
https://xrootd.slac.stanford.edu/doc/dev54/sec_config.htm#_Toc79101994
More precisely the last statement in the documentation snippet below is not reflected in the code:

vomsfun: {file|default}
            specifies the location of the voms plug-in:
            file  -   is the full path if a shared library containing a plug-in function to be called to extract information from the VOMS certificate extension;
            default  -  use the default [extractor](https://xrootd.slac.stanford.edu/doc/dev54/sec_config.htm#_The_voms_plug-in) that comes with the gsi package.

Default is default when the extract or require option is in effect.

Therefore, to have things working one needs to specify both vomsat and vomsfun. Therefore, either the documentation should be updated to reflect the current situation or the code needs to be fixed to have vomsfun set to default if vomsat is enabled.
Using XRootD 5.5.1.

Thanks!

@abh3 abh3 self-assigned this Nov 10, 2022
@abh3 abh3 added the Documentation Issue Missing or incorrect documentation label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issue Missing or incorrect documentation
Projects
None yet
Development

No branches or pull requests

2 participants