Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0CB49476DAC for ; Mon, 13 Jan 2003 09:59:17 -0500 (EST) Received: from morden.cc.vt.edu (hc652a8a3.dhcp.vt.edu [198.82.168.163]) by postgresql.org (Postfix) with ESMTP id 78A58476CA2 for ; Mon, 13 Jan 2003 09:59:04 -0500 (EST) Received: by morden.cc.vt.edu (Postfix, from userid 501) id EE0492EFFA; Mon, 13 Jan 2003 09:59:04 -0500 (EST) Subject: PAM Authentication and Postgresql 7.3 From: Christopher McNabb To: pgsql-admin@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Virginia Polytechnic Institute and State University Message-Id: <1042469944.2417.13.camel@morden.cc.vt.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 13 Jan 2003 09:59:04 -0500 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/117 X-Sequence-Number: 6959 I am trying to set up PAM authentication with postgres 7.3.1. This is under Mandrake Linux 8.2 for i586. I've searched the archives and haven't yet found a solution. Here is the pg_hba.conf file: -------------------------------- # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD local all all trust host all all 127.0.0.1 255.255.255.255 trust host all all 0.0.0.0 0.0.0.0 pam postgresql -------------------------------- pg_config --configure shows this: -------------------------------- '--prefix=/usr/local/pgsql' '--with-perl' '--with-pam' '--with-openssl=/opt/openssl' '--without-readline' '--with-libraries=/usr/lib:/lib:/usr/local/lib' -------------------------------- And here is the error I am getting: ---------------------------------- 2003-01-13 09:50:37 LOG: connection received: host=hc652a8a3.dhcp.vt.edu[198.82.168.163] port=33104 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 ---------------------------------- It looks like the server isn't recognizing the 'pam' keyword in pg_hba.conf, but I can't figure out why this is happening. -- Christopher L McNabb Tel: 540 231 7554 Operating Systems Analyst Email: cmcnabb@vt.edu Virginia Tech ICBM: 37.205622N 80.414595W GMRS: WPSR255 ARS: N2UX Grid Sq: EM97SD