pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Wim Bertels <wim.bertels@khleuven.be>
To: pgsql-admin@postgresql.org
Subject: Pam Ldap (debian) problem
Date: Thu, 11 Sep 2003 15:09:02 +0200
Message-ID: <1063285742.3f6073ee1b735@mail.student.khleuven.be> (raw )
Hi,
i dont get postgres working with pam to use an external ldap server to authenticate users.
i think the problems is that postgres is using the wrong pam file,
namely he uses pam_unix where he should use pam_ldap.so.
postgres version 7.3.2
debian version 3 (kernel 2.4)
any help is much appreciated
ive included the following files:
/etc/hosts
/etc/pam.conf
/etc/pam_ldap.conf
/etc/pam.d/postgresql
/etc/postgresql/pg_hba.conf
/etc/postgresql/postgresql.conf
/etc/postgresql/postmaster.conf
/var/log/messages
/var/log/postgres.log (is empty)
/var/log/auth.log
in short the logs:
Sep 11 12:48:49 damian postgres[1892]: [1] LOG: connection received: host=10.18.10.47 port=32882
Sep 11 12:48:53 damian postgres[1893]: [1] LOG: connection received: host=10.18.10.47 port=32883
and
Sep 11 12:48:49 damian PAM_unix[1892]: auth could not identify password for [wibrt]
Sep 11 12:48:49 damian 18.10.47 authentication[1892]: [2] LOG: CheckPAMAuth: pam_authenticate failed: 'Conversation error'
Sep 11 12:48:49 damian 18.10.47 authentication[1892]: [3] FATAL: PAM authentication failed for user "wibrt"
Sep 11 12:48:53 damian PAM_unix[1893]: authentication failure; (uid=31) -> wibrt for sameuser service
Sep 11 12:48:55 damian 18.10.47 authentication[1893]: [2] LOG: CheckPAMAuth: pam_authenticate failed: 'Authentication failure'
Sep 11 12:48:55 damian 18.10.47 authentication[1893]: [3] FATAL: PAM authentication failed for user "wibrt"
tnx,
Wim
Attachments:
auth.log (application/octet-stream, 664B) download
hosts (application/octet-stream, 308B) download
messages (application/octet-stream, 200B) download
nsswitch.conf (application/octet-stream, 490B) download
pam.conf (application/octet-stream, 534B) download
pam_ldap.conf (application/octet-stream, 3.8K) download
pg_hba.conf (application/octet-stream, 2.4K) download
postgresql (application/octet-stream, 188B) download
postmaster.conf (application/octet-stream, 1.7K) download
Message-ID: <1063285742.3f6073ee1b735@mail.student.khleuven.be>
Permalink: ../1063285742.3f6073ee1b735@mail.student.khleuven.be/
Also on: postgresql.org/message-id/1063285742.3f6073ee1b735@mail.student.khleuven.be
copy link · copy postgr.es
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: wim.bertels@khleuven.be
Subject: Re: Pam Ldap (debian) problem
In-Reply-To: <1063285742.3f6073ee1b735@mail.student.khleuven.be>
References: <1063285742.3f6073ee1b735@mail.student.khleuven.be>
* 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