Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DAA62476E88 for ; Mon, 13 Jan 2003 10:18:13 -0500 (EST) Received: from morden.cc.vt.edu (hc652a8a3.dhcp.vt.edu [198.82.168.163]) by postgresql.org (Postfix) with ESMTP id BBFB8476DCF for ; Mon, 13 Jan 2003 10:16:55 -0500 (EST) Received: by morden.cc.vt.edu (Postfix, from userid 501) id 1BD0A2EFFA; Mon, 13 Jan 2003 10:16:57 -0500 (EST) Subject: Re: PAM Authentication and Postgresql 7.3 From: Christopher McNabb To: "Ing. Gabriel Monsalvo" Cc: pgsql-admin@postgresql.org In-Reply-To: <002b01c2bb16$4fe7c860$4d00a8c0@77> References: <1042469944.2417.13.camel@morden.cc.vt.edu> <002b01c2bb16$4fe7c860$4d00a8c0@77> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Virginia Polytechnic Institute and State University Message-Id: <1042471017.2417.18.camel@morden.cc.vt.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 13 Jan 2003 10:16:57 -0500 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/120 X-Sequence-Number: 6962 On Mon, 2003-01-13 at 10:13, Ing. Gabriel Monsalvo wrote: > You must set the PAM's authentication file, you should have a configuration > file with the authentication settings for the postgresql server in pam.d > directory, for example if you auth file is "postgresl" your pg_hba.conf > file: > Yeah, I forgot to mention in the earlier post that I had done this. Here are the contents of /etc/pam.d/postgresql: ---------------------- auth required /lib/security/pam_ldap.so #nullok #set_secrpc account required /lib/security/pam_ldap.so ---------------------- -- 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