Socket Connection Authentication

From: basti <black(dot)fledermaus(at)arcor(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Socket Connection Authentication
Date: 2015-07-09 06:32:15
Message-ID: 559E156F.4000001@arcor.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
I try to use PHP with Postgresq1 socket connection. All works fine with
following entry in

pg_hba.conf

local database user trust
or
local database user peer map=someuser

pg_ident.conf

# MAPNAME SYSTEM-USERNAME PG-USERNAME
someuser www-data db-user

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?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-07-09 06:43:27 Re: Socket Connection Authentication
Previous Message William Dunn 2015-07-09 06:16:45 Re: Oracle to PostgreSQL Migration - Need Information