postgres 7.2.1 and pam

From: Georg Lutz <glist(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: postgres 7.2.1 and pam
Date: 2002-05-26 16:34:13
Message-ID: 20020526183413.A1319@ercws051.erc.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sander Steffann 2002-05-26 18:22:33 Re: databases and RAID ...
Previous Message Tom Lane 2002-05-26 16:07:20 Re: Problem with ucred.h building 7.2.1