Print

Print


@bbockelm commented on this pull request.


In src/XrdHttp/XrdHttpSecurity.cc:

> @@ -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, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/pull/1572/review/866999522@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/1572#discussion_r795084503", "url": "https://github.com/xrootd/xrootd/pull/1572#discussion_r795084503", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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