summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-11-28 16:51:13 +0100
committerMartin Babinsky <mbabinsk@redhat.com>2016-11-29 18:35:31 +0100
commit0e093f938d8126f11fed920b7381ba6e3d07da5b (patch)
tree91ce4913ccf4be8dae9c48bd0006f88d53ed621f /ipapython
parent452dc97aba12288a23c20f519f4c1c0d4408b765 (diff)
downloadfreeipa-0e093f938d8126f11fed920b7381ba6e3d07da5b.tar.gz
freeipa-0e093f938d8126f11fed920b7381ba6e3d07da5b.tar.xz
freeipa-0e093f938d8126f11fed920b7381ba6e3d07da5b.zip
Accept server host names resolvable only using /etc/hosts
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 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions