Setting up PAM authentication - Mailing list pgsql-admin

From Richard Ray
Subject Setting up PAM authentication
Date
Msg-id 200210101329.g9ADTGs22842@e3000b.state.ms.us
Whole thread Raw
List pgsql-admin
I'm trying to setup PAM authentication for PostgreSQL. I compiled with PAM
and configured pg_hba.conf:
host       test        10.3.62.251   255.255.255.255    pam

When I try to connect I get:
psql: FATAL 1:  PAM authentication failed for user "postgres"

The log shows:
CheckPAMAuth: pam_authenticate failed: 'No account present for user'
FATAL 1:  PAM authentication failed for user "postgres"

I've searched the archives and see this same question asked several times but
no replies.

I'm trying to set this up on HP/UX 11.00 using PostgreSQL 7.2.1.

Thanks
Richard

pgsql-admin by date:

Previous
From: Reiner Dassing
Date:
Subject: Upgrade to new version
Next
From: Bruce Momjian
Date:
Subject: Re: Multiple backends on a single physical database