From: Ed L. <pgsql@bluepolka.net>
To: Robert Treat <xzilla@users.sourceforge.net>
To: Sidar Lopez Cruz <sidarlopez@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf
Date: Fri, 28 Feb 2003 13:16:46 -0700
Message-ID: <200302281316.46514.pgsql@bluepolka.net> (raw)
In-Reply-To: <1046386248.2039.3.camel@camel>
References: <OE71RNZSPGNkY5TetpI000060a3@hotmail.com>
<1046386248.2039.3.camel@camel>
On Thursday February 27 2003 3:50, Robert Treat wrote:
> On Thu, 2003-02-27 at 14:59, Sidar Lopez Cruz wrote:
> > how can i config this file to connect from any ip on my lan
> >
> host all 192.168.0.0 255.255.0.0 trust
>
> that should work, though it's pretty insecure. note you might need
> to address your lan ip address if it's not 192.168.*.*
That applies only for pre-7.3 releases, I believe. Pg 7.3.x
introduced new syntax for pg_hba.conf. You'll need an extra 'all'
after the 'all' above for 7.3.x.
Ed
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-admin@postgresql.org
Cc: pgsql@bluepolka.net, xzilla@users.sourceforge.net, sidarlopez@hotmail.com
Subject: Re: pg_hba.conf
In-Reply-To: <200302281316.46514.pgsql@bluepolka.net>
References: <OE71RNZSPGNkY5TetpI000060a3@hotmail.com> <1046386248.2039.3.camel@camel> <200302281316.46514.pgsql@bluepolka.net>
* 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