From: Florian G. Pflug <fgp@phlo.org>
To: carlosreimer@terra.com.br
Cc: Pgsql-General@Postgresql.Org <pgsql-general@postgresql.org>
Subject: Re: LDAP authentication
Date: Fri, 26 May 2006 15:44:12 +0200
Message-ID: <4477062C.7010105@phlo.org> (raw)
In-Reply-To: <PEEPKDFEHHEMKBBFPOOKCEOGCNAA.carlosreimer@terra.com.br>
References: <PEEPKDFEHHEMKBBFPOOKCEOGCNAA.carlosreimer@terra.com.br>
carlosreimer@terra.com.br wrote:
> Hello,
>
> I saw many messages about ldap authentication but I´m still not sure if
> PostgreSQL can use it?
Are you using windows or unix? On unix, postgresql can use pam
(pluggable authentication modules) for authentication. There are
pam modules for about any authentication schema you can image, including
ldap.
> Can I use it? Should I apply some patch before? Where can I find some doc
> about?
Just compile a version of postgres that includes pam support (Most
binary packages already include that), add a line containing
"all all 0.0.0.0 0.0.0.0 pam" to pg_hba.conf, and create a
/etc/pam.d/postgres file.
greetings, Florian Pflug
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-general@postgresql.org
Cc: fgp@phlo.org, carlosreimer@terra.com.br
Subject: Re: LDAP authentication
In-Reply-To: <4477062C.7010105@phlo.org>
References: <PEEPKDFEHHEMKBBFPOOKCEOGCNAA.carlosreimer@terra.com.br> <4477062C.7010105@phlo.org>
* 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