Print

Print


Fixes #725.  @simonmichal - please test.

If the user provides a non-FQDN (such as `xrootd` instead of `xrootd.cern.ch`), this will detect the situation and use `getaddrinfo` to expand to the canonical name.

Note that the canonical name may be somewhat unexpected as it resolves CNAMEs all the way down to an A record.  For example, if you set your search domain to `unl.edu`, then the canonical name for `www` is not `www.unl.edu` but rather `unlcms-rs.autosplit.its-sys.unl.edu`.

This also allows the environment variable `XrdSecGSITrustDNS` to be set to 0; if it is, all DNS lookups are skipped.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Expand the hostname if necessary.
  * Allow XrdSecGSITrustDNS setting to disable use of all DNS lookups.

-- File Changes --

    M src/XrdSecgsi/XrdSecProtocolgsi.cc (45)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/731.patch
https://github.com/xrootd/xrootd/pull/731.diff

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

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