X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 509D89FA279 for ; Fri, 26 May 2006 10:44:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 43139-05 for ; Fri, 26 May 2006 10:44:33 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from rivendell.solution-x.com (rivendell.solution-x.com [213.147.174.20]) by postgresql.org (Postfix) with ESMTP id 6BD779F9B01 for ; Fri, 26 May 2006 10:44:32 -0300 (ADT) Received: (qmail 20829 invoked from network); 26 May 2006 13:44:28 -0000 Received: from qmail by qscan (mail filter); 26 May 2006 13:44:28 +0000 Received: from unknown (HELO [10.100.5.180]) (fgp@[10.100.5.180]) (envelope-sender ) by rivendell.solution-x.com (qmail-ldap-1.03) with SMTP for ; 26 May 2006 13:44:28 -0000 Message-ID: <4477062C.7010105@phlo.org> Date: Fri, 26 May 2006 15:44:12 +0200 From: "Florian G. Pflug" User-Agent: Thunderbird 1.5.0.2 (X11/20060522) MIME-Version: 1.0 To: carlosreimer@terra.com.br CC: "Pgsql-General@Postgresql.Org" Subject: Re: LDAP authentication References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/1288 X-Sequence-Number: 96080 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