Re: Suggestion: pg_hba.conf - improve postgresql-7.3.2/html/client-authentication.html

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jari Aalto <jari(dot)aalto(at)poboxes(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Suggestion: pg_hba.conf - improve postgresql-7.3.2/html/client-authentication.html
Date: 2003-05-22 20:48:07
Message-ID: 200305222048.h4MKm7u06264@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The file in share is pg_hba.conf.sample, while the one in /data is
pg_hba.conf. I have not heard of anyone else getting this confused in
the past.

---------------------------------------------------------------------------

Jari Aalto wrote:
>
> [Keep CC, if you can]
>
> Recently I struggled with access problems with pg_hba.conf.
> (see http://cygwin.com/ml/cygwin/2003-05/msg00829.html )
>
> The solution was simple, but to find the error was pure luck.
> Would you kindly either
>
> a) add a note to the pg_hba.conf.sample
> b) add to the client-authentication.html
>
> Following statement:
>
> "Please, make sure that your authorization file is located in the
> *data* directory, not the toplever postgreSQL installation directory.
> That is, the file should be located in data/pga_conf"
>
> In my case, there were two pg_hba.conf files, one at
> /usr/share/postgresql/ and other at /usr/share/postgresql/data/
> After copying the right one into the data/ dir, all worked ok.
>
> This was real puzzle because I stirred the pgra_hba.conf and
> changed it multiple times without success. And I never noticed
> that it was in wrong directory.
>
> Jari
>
>
> --
> http://tiny-tools.sourceforge.net/
> Swatch @time http://www.ryanthiessen.com/swatch/resources.htm
> Convert @time http://www.mir.com.my/iTime/itime.htm
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Sean Chittenden 2003-05-23 00:54:17 Re: Different results in a loop with RECORD vs ROWTYPE...
Previous Message Hans Poo 2003-05-22 18:07:35 Fix on createdb autocommit no recognized