-
Notifications
You must be signed in to change notification settings - Fork 149
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
xrootd-voms / vomsxrd: Argument parsing issue #1196
Comments
I think the issue here is that the gropt values are reverse. It is sel*10+which and in the case you present the grpopt should be '12' not '21'. This is the reason you get odd behavior depending on where the gropt is placed and the "grps" option modifies the gropt value but works only if it is correct. Depending on the release you may have seen a warning in the log about this. I agree, this is confusing. However, specify gropt=12 to see if this solves your problem. In any case. All that said, it looks like gropt needs to be specified ahead of the grps in any case. I will fix this in R5. |
@abh3 Thanks, indeed I got the However, I can also reproduce the problem with "12":
(i.e. authentication for any but the first VO fails) vs.
which works fine. Interestingly, it also fails if I completely remove |
Just my $0.02: I have no idea what option Can we have an alias for something vaguely human-readable? |
Sure, this is historical. No reason to use english language as opposed to
numeric language :-)
…On Mon, 18 May 2020, Brian P Bockelman wrote:
Just my $0.02: I have no idea what option `12` is without having the docs open in a separate tab.
Can we have an alias for something vaguely human-readable?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1196 (comment)
|
So, exactly which voms are you using? That is, where did the voms in /usr/lib64/libXrdSecgsiVOMS.so come from? I can't build it using 4.12.1 as there seems to be a configuration issue in that release relative to the voms submodule. So, hat make me wonder. |
Interesting! I wanted to say, from the
I installed I checked md5sums to confirm: The md5sums of all libraries match:
So I guess we have a second issue here: The release RPMs package |
@olifre OK, I have a fixed VOMS (at least I think it's fixed). However, the fixes are in the R5 branch. That library will work just fine for R4. The trick is how do I get that to you? I can compile it and send it to you (if you give me a platform spec) or you can compile it from git head (on a platform that has vomsapi and voms-dev installed). If you do the latter simply rename libXrdSecgsiVOMS-5.so to libXrdSecgsiVOMS-4.so and either replace the one you have or explicitly specify its location. The R4 VOMS library has a number of problems. So, I would just go with the EPEL version not ours. Anyway, I would appreciate if you test it and hopefully it will meet your expectations. |
@abh3: This is bascially efe81d6 , right? I see this also adds an additional, more human-oriented syntax, many thanks for that!
That would be much appreciated. I tried to compile XRootD 5 on CentOS 7.8 x86_64 (which our nodes run), but
We're using |
@abh3 And I have good news! Now, both:
and
work fine, also Thanks for all this, this issue can be closed :-). |
(I'm not sure whether this is the correct place for vomsxrd issues, but since the issue tracker on https://github.com/xrootd/vomsxrd is off, I presume so)
The following configuration line:
maps all VOs and groups correctly (it seems), but the following configuration line:
ignores any but the very first VO / group.
I don't see an apparent bug in the argument parsing code, sadly, even running
xrootd
with-d
does not turn on the debug output in the plugin (and settingdbg
comes too late).Let me know if there's any way to turn on the debug output for the argument parsing or any other information I could provide.
The text was updated successfully, but these errors were encountered: