Re: cannot connect using terminal nor pgaccess - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: cannot connect using terminal nor pgaccess
Date
Msg-id Pine.LNX.4.30.0105221652290.757-100000@peter.localdomain
Whole thread Raw
In response to cannot connect using terminal nor pgaccess  (Jaume Teixi <teixi@6tems.com>)
List pgsql-admin
Thalis A. Kalfigopoulos writes:

> I'm not that familiar with pg yet, but maybe his problem is with the auth line:
> host         all         127.0.0.1     255.255.255.0       ident sameuser
>
> How can an IP going through mask 255.255.255.0 yield x.x.x.1 ? Shouldn't the netmask be 255.255.255.255?

Since the error message was "ident authentication failed", this means that
the system has already decided to use ident authentication, which means
that the line was correct for that part.

As for the netmask, it doesn't matter.  See the documentation for the
precise logic.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-admin by date:

Previous
From: Tomasz Misterka
Date:
Subject: user delete problem
Next
From: Shaun Thomas
Date:
Subject: Re: Cost limit.