Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 0F3C513C6999 for ; Fri, 4 May 2012 08:56:41 -0300 (ADT) Received: from plane.gmane.org ([80.91.229.3]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SQH7o-0008T9-5b for pgsql-admin@postgresql.org; Fri, 04 May 2012 11:56:41 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SQH7W-0007vq-SV for pgsql-admin@postgresql.org; Fri, 04 May 2012 13:56:22 +0200 Received: from 217.110.94.67 ([217.110.94.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 May 2012 13:56:22 +0200 Received: from spam_eater by 217.110.94.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 May 2012 13:56:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: Thomas Kellerer Subject: Getting "ident" to work in Windows Date: Fri, 04 May 2012 13:57:47 +0200 Lines: 36 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 217.110.94.67 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 X-Pg-Spam-Score: -0.7 (/) X-Archive-Number: 201205/22 X-Sequence-Number: 39511 Hi, I'm trying to enable "ident" authentication on my Windows machine using PostgreSQL 9.1 However as soon as I add the following line to pg_hba.conf host all all ::1/128 ident sameuser I get an error message when trying to login (after a server reload of course) psql: FATAL: could not load pg_hba.conf It is precisely that line above. As soon as I remove it I can logon again (with a username/password of course). I did verify that my connections are done through IPV6. Here is the current content of my pg_hba.conf: --------- snip ---------- # TYPE DATABASE USER ADDRESS METHOD # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5 --------- snip ---------- Ideally I would like to make "ident" to work with a custom map but using "ident tkmap". But that throws the same error which isn't really surprising as "ident tkmap" is not working either. Is ident not supported on Windows? I could not find anything related to that in the manual. Regards Thomas