Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: BUG #4330: Bonjour connections ignore hba config METHOD and always trusted


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: William Kyngesburye <kyngchaos(at)kyngchaos(dot)com>
  • Cc: pgsql-bugs(at)postgresql(dot)org
  • Subject: Re: BUG #4330: Bonjour connections ignore hba config METHOD and always trusted
  • Date: Mon, 28 Jul 2008 18:50:41 -0400
  • Message-id: <29938.1217285441@sss.pgh.pa.us> <text/plain>

William Kyngesburye <kyngchaos(at)kyngchaos(dot)com> writes:
>> What exactly have you got in pg_hba.conf?

> The default:

> # "local" is for Unix domain socket connections only
> local   all         all                               trust
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          trust
> # IPv6 local connections:
> host    all         all         ::1/128               trust

> and:

> host  all  somerole  192.168.1.0/24  md5

Well, there's an awful lot of "trust" laying about there.  I'd suggest
enabling log_connections so you can see what address the connections
are actually coming in on.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group