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

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

>  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?


Actually you don't need to put an entry for each users ip.  The
pg_hba.conf allows you to accept a range of IP address that your users
client computers are assigned.

The quickest way to properly configure your pg_hba.conf file would be
to spend about ten minutes reading the online documentation:

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

Also notice the examples under Example 19-1. Example pg_hba.conf entries.

Reply back with any problems that you encounter after trying some of
the examples.  A focused question is much more easy answer than
general one.


-- 
Regards,
Richard Broersma Jr.

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



view thread (7+ messages)  latest in thread

Message-ID: <396486430909291332m302d3e4ag7de66b1edf1bedcb@mail.gmail.com>
Permalink:  ../396486430909291332m302d3e4ag7de66b1edf1bedcb@mail.gmail.com/
Also on:    postgresql.org/message-id/396486430909291332m302d3e4ag7de66b1edf1bedcb@mail.gmail.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: richard.broersma@gmail.com, rdiscua@rdscorporacion.com
  Subject: Re: cannot find pg_hba.conf file
  In-Reply-To: <396486430909291332m302d3e4ag7de66b1edf1bedcb@mail.gmail.com>
  References: <003101ca413d$b95fe340$2c1fa9c0$@com> <396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com> <003901ca4141$caf64fa0$60e2eee0$@com> <396486430909291332m302d3e4ag7de66b1edf1bedcb@mail.gmail.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