Re: LDAP authentication - Mailing list pgsql-general

From Florian G. Pflug
Subject Re: LDAP authentication
Date
Msg-id 4477062C.7010105@phlo.org
Whole thread Raw
In response to LDAP authentication  (<carlosreimer@terra.com.br>)
Responses RES: LDAP authentication  (<carlosreimer@terra.com.br>)
List pgsql-general
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


pgsql-general by date:

Previous
From: "A.M."
Date:
Subject: SELECT table_type FROM table;
Next
From: Kenneth Downs
Date:
Subject: Re: Restricting access to rows?