Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E011C476E05 for ; Mon, 13 Jan 2003 11:06:56 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 1DE4F476DD2 for ; Mon, 13 Jan 2003 11:05:03 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h0DG575u025472; Mon, 13 Jan 2003 11:05:07 -0500 (EST) To: Christopher McNabb Cc: pgsql-admin@postgresql.org Subject: Re: PAM Authentication and Postgresql 7.3 In-reply-to: <1042469944.2417.13.camel@morden.cc.vt.edu> References: <1042469944.2417.13.camel@morden.cc.vt.edu> Comments: In-reply-to Christopher McNabb message dated "13 Jan 2003 09:59:04 -0500" Date: Mon, 13 Jan 2003 11:05:07 -0500 Message-ID: <25471.1042473907@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/124 X-Sequence-Number: 6966 Christopher McNabb 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