Using CIDR and md5 in pg_hba.conf

From: "Bender, Cheryl" <cbender(at)mriresearch(dot)org>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Using CIDR and md5 in pg_hba.conf
Date: 2004-06-10 20:36:07
Message-ID: D5DB5D0D27171247AFEC9648EE98752F03212587@KCEX2KV1.mri-kc.int
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello all;

I am trying to connect to a postgreSQL server running version 7.3.2 on
freebsd (5.1). I'm having trouble getting the syntax right for this
subnet. I thought I had this working at home for a simple
192.168.0.0/24 network. This is the line in the pg_hba.conf

host all all 10.16.0.0/12 trust

I restarted the server each time I make a change to the file but get
error "missing or erroneous pg_hba.conf file"

I can connect fine as long as I put only my IP and netmask in. I went
on the internet to make sure I have the right subnet and CIDR, so I
think it's correct. My server at home is running an older version
(7.1.?3) so perhaps something has changed, but I can't help but think
that I'm having a brain cramp here. Any hints would be most welcome.

Cheryl Bender

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-06-10 21:20:56 Re: Using CIDR and md5 in pg_hba.conf
Previous Message Tom Lane 2004-06-10 18:47:13 Re: pg_stat tables empty