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
https://github.com/xrootd/xrootd/pull/1916
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
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