pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ramon Discua <rdiscua@rdscorporacion.com>
To: 'Richard Broersma' <richard.broersma@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: cannot find pg_hba.conf file
Date: Tue, 29 Sep 2009 14:16:54 -0600
Message-ID: <003901ca4141$caf64fa0$60e2eee0$@com> (raw)
In-Reply-To: <396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com>
References: <003101ca413d$b95fe340$2c1fa9c0$@com>
	<396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com>

Thanks, know I understand the entry has to be added to server side not on
the client side. However this means that every time I add a user, that uses
my application from a different workstation I have to add the entry to the
pg_hba file on the server side? Is there a way to avoid this?
Thanks for your prompt response

Ramon

-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Richard Broersma
Sent: Tuesday, September 29, 2009 1:56 PM
To: Ramon Discua
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] cannot find pg_hba.conf file

On Tue, Sep 29, 2009 at 12:47 PM, Ramon Discua
<rdiscua@rdscorporacion.com> wrote:

> but when I test
> the connection I get "FATAL: no pg_hba.conf entry for host...". However I
> can not find this file to add the entry.

Actually this file is located on the computer that PostgreSQL is
running on.  The PostgreSQL server uses this file to determine it will
accept connections from a client host.

here is information about the file:

http://www.postgresql.org/docs/8.4/interactive/auth-pg-hba-conf.html


On my computer it is located here:

 Directory of C:\Program Files\PostgreSQL\8.4\data

07/28/2009  01:16 PM             3,425 pg_hba.conf
               1 File(s)          3,425 bytes
               0 Dir(s)  14,203,064,320 bytes free

-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc




view thread (7+ messages)  latest in thread

Message-ID: <003901ca4141$caf64fa0$60e2eee0$@com>
Permalink:  ../003901ca4141$caf64fa0$60e2eee0$@com/
Also on:    postgresql.org/message-id/003901ca4141$caf64fa0$60e2eee0$@com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: rdiscua@rdscorporacion.com, richard.broersma@gmail.com
  Subject: Re: cannot find pg_hba.conf file
  In-Reply-To: <003901ca4141$caf64fa0$60e2eee0$@com>
  References: <003101ca413d$b95fe340$2c1fa9c0$@com> <396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com> <003901ca4141$caf64fa0$60e2eee0$@com>

* 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