pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christopher McNabb <cmcnabb@vt.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: PAM Authentication and Postgresql 7.3
Date: Mon, 13 Jan 2003 11:05:07 -0500
Message-ID: <25471.1042473907@sss.pgh.pa.us> (raw)
In-Reply-To: <1042469944.2417.13.camel@morden.cc.vt.edu>
References: <1042469944.2417.13.camel@morden.cc.vt.edu>

Christopher McNabb <cmcnabb@vt.edu> writes:
> I am trying to set up PAM authentication with postgres 7.3.1.

I'm not a PAM user, but your pg_hba entry seems correct according to the
docs:

> host    all         all         0.0.0.0           0.0.0.0           pam
> postgresql

assuming that that's really one line and your message was just
line-wrapped by your mailer.

> 2003-01-13 09:50:37 LOG:  parse_hba: invalid syntax in pg_hba.conf file
> at line 92, token "pam"
> 2003-01-13 09:50:37 FATAL:  Missing or erroneous pg_hba.conf file, see
> postmaster log for details

This is the behavior I would expect to see if PAM support were not
present in the postmaster.  Are you certain that your pg_config file
corresponds to the installed, running postmaster?

Another possibility is that the postmaster has cached a previous version
of pg_hba.conf in which the syntax was indeed incorrect.  If you've been
editing pg_hba.conf, did you SIGHUP the postmaster afterwards?  ("pg_ctl
reload" is the same as SIGHUP)

			regards, tom lane



view thread (4+ messages)

Message-ID: <25471.1042473907@sss.pgh.pa.us>
Permalink:  ../25471.1042473907@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25471.1042473907@sss.pgh.pa.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: tgl@sss.pgh.pa.us, cmcnabb@vt.edu
  Subject: Re: PAM Authentication and Postgresql 7.3
  In-Reply-To: <25471.1042473907@sss.pgh.pa.us>
  References: <1042469944.2417.13.camel@morden.cc.vt.edu> <25471.1042473907@sss.pgh.pa.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