Print

Print


@bbockelm commented on this pull request.



> @@ -164,6 +165,7 @@ XrdHttpProtocol::HandleGridMap(XrdLink* lp)
       TRACEI(DEBUG, " Mapping name: '" << SecEntity.moninfo << "' --> " << bufname);
       if (SecEntity.name) free(SecEntity.name);
       SecEntity.name = strdup(bufname);
+      SecEntity.eaAPI->Add("gridmap.name", bufname, true);

The VOMS plugin runs after the GSI authentication logic; the GSI authentication logic that generates the `entity.name` may be based on the mapfile _or_ the default logic.  What's added here allows one to differentiate those two cases.

We need to know the difference between the default and explicit mapping because, in one case (the default), the VOMS mapfile overrides the `entity.name` value.  In the other case, the VOMS mapfile should keep the `entity.name` untouched.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1572#discussion_r795084503
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1