pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Georg Lutz <glist@gmx.net>
To: pgsql-admin@postgresql.org
Subject: postgres 7.2.1 and pam
Date: Sun, 26 May 2002 18:34:13 +0200
Message-ID: <20020526183413.A1319@ercws051.erc.lan> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <20020526183413.A1319@ercws051.erc.lan>
Permalink:  ../20020526183413.A1319@ercws051.erc.lan/
Also on:    postgresql.org/message-id/20020526183413.A1319@ercws051.erc.lan

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: glist@gmx.net
  Subject: Re: postgres 7.2.1 and pam
  In-Reply-To: <20020526183413.A1319@ercws051.erc.lan>
  References: <20020526183413.A1319@ercws051.erc.lan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox