[Freeipa-devel] [freeipa PR#281][opened] Accept server host names resolvable only using /etc/hosts

pspacek freeipa-github-notification at redhat.com
Mon Nov 28 15:58:12 UTC 2016


   URL: https://github.com/freeipa/freeipa/pull/281
Author: pspacek
 Title: #281: Accept server host names resolvable only using /etc/hosts
Action: opened

PR body:
"""
Apparently "files" implementation of hosts NSS database cannot deal with
trailing period in host names.

Previously name server.example.com which is was resolvable neither using
dns nor myhostname NSS modules were rejected by installer
(despite having matching line in /etc/hosts).

These names which are resolvable purely using "files" database are now
accepted.

The problem is that I had to remove trailing period from names passed
to getaddrinfo() function. This effectivelly enables search list processing.
This means that items from the search list might be silently appended to
the query and we might get an IP address for totally different names
than we asked for.

Unfortunatelly I see no way around this while keeping ability
to use names from NSS hosts database.

https://fedorahosted.org/freeipa/ticket/6518
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/281/head:pr281
git checkout pr281
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-281.patch
Type: text/x-diff
Size: 2175 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20161128/ffb6e863/attachment.bin>


More information about the Freeipa-devel mailing list