Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 772B5B5DD77 for ; Tue, 12 Jul 2011 00:05:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 73377-07 for ; Tue, 12 Jul 2011 03:05:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id BA7B3B5DD64 for ; Tue, 12 Jul 2011 00:05:31 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p6B9D36J040917 for ; Mon, 11 Jul 2011 09:13:04 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p6B9D3sE040916; Mon, 11 Jul 2011 09:13:03 GMT (envelope-from www) Date: Mon, 11 Jul 2011 09:13:03 GMT Message-Id: <201107110913.p6B9D3sE040916@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6110: pg_hba.conf samehost does not work From: "Binod Nepal" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201107/96 X-Sequence-Number: 30708 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.