Using CIDR and md5 in pg_hba.conf

Поиск
Список
Период
Сортировка
От Bender, Cheryl
Тема Using CIDR and md5 in pg_hba.conf
Дата
Msg-id D5DB5D0D27171247AFEC9648EE98752F03212587@KCEX2KV1.mri-kc.int
обсуждение исходный текст
Ответы Re: Using CIDR and md5 in pg_hba.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_stat tables empty
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using CIDR and md5 in pg_hba.conf