pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Ray <rray1@netdoor.com>
To: pgsql-admin@postgresql.org
Subject: Setting up PAM authentication
Date: Thu, 10 Oct 2002 08:25:53 -0500
Message-ID: <200210101329.g9ADTGs22842@e3000b.state.ms.us> (raw)


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



Message-ID: <200210101329.g9ADTGs22842@e3000b.state.ms.us>
Permalink:  ../200210101329.g9ADTGs22842@e3000b.state.ms.us/
Also on:    postgresql.org/message-id/200210101329.g9ADTGs22842@e3000b.state.ms.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: rray1@netdoor.com
  Subject: Re: Setting up PAM authentication
  In-Reply-To: <200210101329.g9ADTGs22842@e3000b.state.ms.us>
  References: <200210101329.g9ADTGs22842@e3000b.state.ms.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox