Setting up PAM authentication - Mailing list pgsql-novice

From Richard Ray
Subject Setting up PAM authentication
Date
Msg-id 200210092011.g99KBqs23791@e3000b.state.ms.us
Whole thread Raw
Responses Re: Setting up PAM authentication  (Josh Berkus <josh@agliodbs.com>)
List pgsql-novice
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-novice by date:

Previous
From: Thad Humphries
Date:
Subject: date conversions
Next
From: Josh Berkus
Date:
Subject: Re: Setting up PAM authentication