Socket Connection Authentication - Mailing list pgsql-general

From basti
Subject Socket Connection Authentication
Date
Msg-id 559E156F.4000001@arcor.de
Whole thread Raw
Responses Re: Socket Connection Authentication  (John R Pierce <pierce@hogranch.com>)
Re: Socket Connection Authentication  (Naveed Shaikh <naveed.shaikh@enterprisedb.com>)
List 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?





pgsql-general by date:

Previous
From: William Dunn
Date:
Subject: Re: Oracle to PostgreSQL Migration - Need Information
Next
From: John R Pierce
Date:
Subject: Re: Socket Connection Authentication