pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_hba
3+ messages / 3 participants
[nested] [flat]
* pg_hba
@ 2002-12-31 07:09 Rob Abernethy IV <abernethy@dynedge.com>
2002-12-31 20:57 ` Re: pg_hba Justin Georgeson <jgeorgeson@unboundtech.com>
2002-12-31 21:22 ` Re: pg_hba David F. Skoll <dfs@roaringpenguin.com>
0 siblings, 2 replies; 3+ messages in thread
From: Rob Abernethy IV @ 2002-12-31 07:09 UTC (permalink / raw)
To: pgsql-admin
Is there any problem with this line from my pg_hba.conf file:
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
local all all 0.0.0.0 0.0.0.0 md5
I get this error when I try to connect:
LOG: parse_hba: invalid syntax in pg_hba.conf file at line 90, token "0.0.0.0"
FATAL: Missing or erroneous pg_hba.conf file, see postmaster log for details
I'm using version 7.3.1 and postmaster is running with both tcp/ip and ssl
turned on. Does the IP address need to be in quotes or anything? Is this
different from previous versions?
--
Robert Abernethy IV
Dynamic Edge, Inc.
734.975.0460
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_hba
2002-12-31 07:09 pg_hba Rob Abernethy IV <abernethy@dynedge.com>
@ 2002-12-31 20:57 ` Justin Georgeson <jgeorgeson@unboundtech.com>
1 sibling, 0 replies; 3+ messages in thread
From: Justin Georgeson @ 2002-12-31 20:57 UTC (permalink / raw)
To: pgsql-admin
Try leaving the IP fields blank, local uses a unix domain socket.
Rob Abernethy IV wrote:
> Is there any problem with this line from my pg_hba.conf file:
>
> # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
> local all all 0.0.0.0 0.0.0.0 md5
>
> I get this error when I try to connect:
>
> LOG: parse_hba: invalid syntax in pg_hba.conf file at line 90, token "0.0.0.0"
> FATAL: Missing or erroneous pg_hba.conf file, see postmaster log for details
>
> I'm using version 7.3.1 and postmaster is running with both tcp/ip and ssl
> turned on. Does the IP address need to be in quotes or anything? Is this
> different from previous versions?
>
> --
> Robert Abernethy IV
> Dynamic Edge, Inc.
> 734.975.0460
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main 713.329.9330
Fax 713.460.4051
Mobile 512.789.1962
5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_hba
2002-12-31 07:09 pg_hba Rob Abernethy IV <abernethy@dynedge.com>
@ 2002-12-31 21:22 ` David F. Skoll <dfs@roaringpenguin.com>
1 sibling, 0 replies; 3+ messages in thread
From: David F. Skoll @ 2002-12-31 21:22 UTC (permalink / raw)
To: Rob Abernethy IV <abernethy@dynedge.com>; +Cc: pgsql-admin
On Tue, 31 Dec 2002, Rob Abernethy IV wrote:
> Is there any problem with this line from my pg_hba.conf file:
> # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
> local all all 0.0.0.0 0.0.0.0 md5
A type of "local" doesn't take IP-ADDRES or IP-MASK. It's a UNIX-domain
socket, so those values are not meaningful.
Try:
local all all md5
Regards,
David.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-12-31 21:22 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-31 07:09 pg_hba Rob Abernethy IV <abernethy@dynedge.com>
2002-12-31 20:57 ` Justin Georgeson <jgeorgeson@unboundtech.com>
2002-12-31 21:22 ` David F. Skoll <dfs@roaringpenguin.com>
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