Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: 0d9f3a35f3e55064a3eae1abe5c5fdbb04c47504
      https://github.com/xrootd/xrootd/commit/0d9f3a35f3e55064a3eae1abe5c5fdbb04c47504
  Author: Brian Bockelman <[log in to unmask]>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M src/XrdSys/XrdSysE2T.cc

  Log Message:
  -----------
  Override error message for EAUTH

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".

########################################################################
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