From: Binod Nepal <nepalbinod@yahoo.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6110: pg_hba.conf samehost does not work
Date: Mon, 11 Jul 2011 09:13:03 GMT
Message-ID: <201107110913.p6B9D3sE040916@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 6110
Logged by: Binod Nepal
Email address: nepalbinod@yahoo.com
PostgreSQL version: 9.0.2
Operating system: Windows 7 Ultimate 32/64
Description: pg_hba.conf samehost does not work
Details:
pg_hba.conf
# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all samehost md5
host all all samenet md5
# IPv6 local connections:
host all all ::1/128 md5
host all all samehost md5
host all all samenet md5
postgresql.conf
listen_addresses = '*'
SYSTEM DETAILS
Operating System
Windows 7 Ultimate 32 or 64 bit
Computer Name
SERVER
PostgreSQL Server Version
PostgreSQL 9.0.2
BUG DESCRIPTION
I am using pgAdminIII, trying create a "New Server Registration". When I
connect to (localhost), it works fine. But when I change the host to the
actual workstation name, it says:
FATAL: no pg_hba.conf entry for host "fe80::c81c:9e9c:6570:d0bf%20", user
"postgres", database "postgres", SSL off
even when I have
host all all samehost md5
on pg_hba.conf on IPv4 and IPv6 settings.
PLEASE NOTE
I am trying to connect to the server from the same machine.
ADDITIONAL INFORMATION
If I connect to "SERVER" from other computers on the same network, it
works.
For further information, please contact.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: nepalbinod@yahoo.com
Subject: Re: BUG #6110: pg_hba.conf samehost does not work
In-Reply-To: <201107110913.p6B9D3sE040916@wwwmaster.postgresql.org>
References: <201107110913.p6B9D3sE040916@wwwmaster.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox