Re: Socket Connection Authentication - Mailing list pgsql-general

From John R Pierce
Subject Re: Socket Connection Authentication
Date
Msg-id 559E180F.9050708@hogranch.com
Whole thread Raw
In response to Socket Connection Authentication  (basti <black.fledermaus@arcor.de>)
List pgsql-general
On 7/8/2015 11:32 PM, basti wrote:
> When I try
>
> local      database  user md5
>
> I get the error: "Peer authentication failed for user ..."
> Is it possible to authenticate a user with md5 via socket connection?

yes, it is, I do it all the time.

  was this the first local line, or at least in front of any local all
all  lines ?

were you using localhost to connect or leaving the host empty? localhost
uses a host ....  entry.

--
john r pierce, recycling bits in santa cruz



pgsql-general by date:

Previous
From: basti
Date:
Subject: Socket Connection Authentication
Next
From: Naveed Shaikh
Date:
Subject: Re: Socket Connection Authentication