Skip site navigation (1) Skip section navigation (2)

Pam Ldap (debian) problem

From: Wim Bertels <wim(dot)bertels(at)khleuven(dot)be>
To: pgsql-admin(at)postgresql(dot)org
Subject: Pam Ldap (debian) problem
Date: 2003-09-11 13:09:02
Message-ID: (view raw or whole thread)
Lists: pgsql-admin

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

postgres version 7.3.2
debian version 3 (kernel 2.4)

any help is much appreciated

ive included the following files:
/var/log/postgres.log (is empty)

in short the logs:

Sep 11 12:48:49 damian postgres[1892]: [1] LOG:  connection received: host= port=32882
Sep 11 12:48:53 damian postgres[1893]: [1] LOG:  connection received: host= port=32883


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"


Attachment: postmaster.conf
Description: application/octet-stream (1.7 KB)
Attachment: postgresql
Description: application/octet-stream (188 bytes)
Attachment: pg_hba.conf
Description: application/octet-stream (2.4 KB)
Attachment: pam_ldap.conf
Description: application/octet-stream (3.8 KB)
Attachment: pam.conf
Description: application/octet-stream (534 bytes)
Attachment: nsswitch.conf
Description: application/octet-stream (490 bytes)
Attachment: messages
Description: application/octet-stream (200 bytes)
Attachment: hosts
Description: application/octet-stream (308 bytes)
Attachment: auth.log
Description: application/octet-stream (664 bytes)

pgsql-admin by date

Next:From: Tom LaneDate: 2003-09-11 14:02:38
Subject: Re: System catalog for triggers
Previous:From: Kalyan (FS)Date: 2003-09-11 11:44:30
Subject: `__builtin_va_alist' undeclared

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group