Re: [HACKERS] pg_hba.conf - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] pg_hba.conf
Date
Msg-id 26854.914860542@sss.pgh.pa.us
Whole thread Raw
In response to pg_hba.conf  (Angelos Karageorgiou <angelos@incredible.com>)
List pgsql-hackers
Angelos Karageorgiou <angelos@incredible.com> writes:
> in pg_hba.conf when my netmask is 255.255.255.0 like below the authentication
> mechanism works fine
> host    databank        x.y.z.12   255.255.255.0   ident sameuser 
> but if I change my netmask to 255.255.255.255 like below it does not work
> any more. Am I doing something wrong or did I not understand thing correctly?
> host    databank        x.y.z.12   255.255.255.255   ident sameuser 

I use 255.255.255.255 netmask and it works as expected for me...
do you still see this problem now that you have fixed your libc and
database setup problems?

Also, what do you mean by "it does not work"?  Does it fail to let in
new connections from the intended host, or improperly let in connections
from other hosts?
        regards, tom lane

PS: I assume you've double-checked that the intended host really is
x.y.z.12, and not x.y.z.something-else...


pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] Re: NULL & NOT NULL
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] postgresql-6.4.1.tar.gz