Re: cannot connect using terminal nor pgaccess

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu>
Cc: Jaume Teixi <teixi(at)6tems(dot)com>, psql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: cannot connect using terminal nor pgaccess
Date: 2001-05-22 14:54:10
Message-ID: Pine.LNX.4.30.0105221652290.757-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jeremy Ashcraft 2001-05-22 15:01:00 Error help
Previous Message Thalis A. Kalfigopoulos 2001-05-22 14:30:21 Re: cannot connect using terminal nor pgaccess