From: ktm@rice.edu <ktm@rice.edu>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Getting "ident" to work in Windows
Date: Fri, 4 May 2012 08:33:02 -0500
Message-ID: <20120504133302.GG32303@aart.rice.edu> (raw)
In-Reply-To: <jo0g4q$pq8$1@dough.gmane.org>
References: <jo0g4q$pq8$1@dough.gmane.org>
On Fri, May 04, 2012 at 01:57:47PM +0200, Thomas Kellerer wrote:
> 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
>
I believe that that is the case. There is no Windows ident support.
Regards,
Ken
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ktm@rice.edu, spam_eater@gmx.net
Subject: Re: Getting "ident" to work in Windows
In-Reply-To: <20120504133302.GG32303@aart.rice.edu>
* 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