Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 9B0714759D0 for ; Sun, 26 May 2002 12:35:28 -0400 (EDT) Received: from ercws051.erc.lan (pD9580DC8.dip.t-dialin.net [217.88.13.200]) by postgresql.org (Postfix) with ESMTP id C8B97475985 for ; Sun, 26 May 2002 12:35:27 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) (uid 500) by ercws051.erc.lan with local; Sun, 26 May 2002 18:34:13 +0200 Date: Sun, 26 May 2002 18:34:13 +0200 From: Georg Lutz To: pgsql-admin@postgresql.org Subject: postgres 7.2.1 and pam Message-ID: <20020526183413.A1319@ercws051.erc.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Archive-Number: 200205/232 X-Sequence-Number: 4407 Hi, i would like to use pam(ldap) to authenticate users. Unix-LDAP-Users already exists and they can login. I created a user via "CREATE USER user;" without a password, having a valid unix-account in ldap. But whenever I try to login to postgresql via psql -U user template1 i get "psql: FATAL 1: Password authentication failed for user user". I installed the rpm's from ftp://ftp.postgresql.org/pub/binary/v7.2.1/RPMS/redhat-7.2/ on RH 7.2 . My pg_hba.conf looks like this: --- local all md5 local all pam postgresql --- In /etc/pam.d/postgresql: --- auth required pam_ldap.so --- What is the problem here? Please CC, I am not subscribed. -- Georg