Re: pg_hba.conf problem? - Mailing list pgsql-general

From Stephan Szabo
Subject Re: pg_hba.conf problem?
Date
Msg-id 20020211083648.G80839-100000@megazone23.bigpanda.com
Whole thread Raw
In response to pg_hba.conf problem?  ("Carlo Florendo" <fcarlo@ntsp.nec.co.jp>)
List pgsql-general
> This one below is part of my pg_hba.conf file:
>
> # This default configuration allows any local user to connect as any
> # PostgreSQL username, over either UNIX domain sockets or IP:
>
> host         all         127.0.0.1     255.255.255.255     crypt
> host         athena      172.28.61.13  255.255.255.255     trust   amgarcia

> Basically, I want user "amgarcia" to authenticate before connecting to the database.
> If I change the "trust" to "crypt", the server asks for a password.  It, however, does
> not want to accept the password "abc123".

Do you have a file amgarcia in your $PGDATA?  AFAIK the last parameter is
not a username it's an external file containing users that are allowed to
authenticate.


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_hba.conf problem?
Next
From: Jan Poslusny
Date:
Subject: Re: getting currval from a sequence - BUG ?