pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Using CIDR and md5 in pg_hba.conf 2+ messages / 2 participants [nested] [flat]
* Using CIDR and md5 in pg_hba.conf @ 2004-06-10 20:36 Bender, Cheryl <cbender@mriresearch.org> 0 siblings, 1 reply; 2+ messages in thread From: Bender, Cheryl @ 2004-06-10 20:36 UTC (permalink / raw) To: 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Using CIDR and md5 in pg_hba.conf @ 2004-06-10 21:20 Tom Lane <tgl@sss.pgh.pa.us> parent: Bender, Cheryl <cbender@mriresearch.org> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2004-06-10 21:20 UTC (permalink / raw) To: Bender, Cheryl <cbender@mriresearch.org>; +Cc: pgsql-admin "Bender, Cheryl" <cbender@mriresearch.org> writes: > 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 don't think 7.3 accepted the /n syntax for netmask. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-06-10 21:20 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2004-06-10 20:36 Using CIDR and md5 in pg_hba.conf Bender, Cheryl <cbender@mriresearch.org> 2004-06-10 21:20 ` Re: Using CIDR and md5 in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
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