On Linux platforms, the "authentication denied" error is mapped to the EBADE errno (as EAUTH doesn't exist). That results in authentication errors in XrdPss to generate the "invalid exchange" error message (this is because XrdPss takes the errno from XrdPosix and XrdPosix returns EBADE/EAUTH).

Rather than start tinkering with alternate errno's for this case, simply map EBADE's error message to "authentication denied".

Before:

Server responded with an error: [3030] Unable to open /user/ligo/test_access/access_ligo; invalid exchange

After:

Server responded with an error: [3030] Unable to open /user/ligo/test_access/access_ligo; authentication denied

This misleading error message was found when working on #1915


You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1916

Commit Summary

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/pull/1916@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/1916", "url": "https://github.com/xrootd/xrootd/pull/1916", "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