Re: LDAP lookup of connection parameters

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Albe Laurenz <all(at)adv(dot)magwien(dot)gv(dot)at>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: LDAP lookup of connection parameters
Date: 2006-04-21 23:58:03
Message-ID: 200604212358.k3LNw3T05327@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Albe Laurenz wrote:
> > This patch for libpq allows you to enter an LDAP URL in
> pg_service.conf.
> > The URL will be queried and the resulting string(s) parsed for
> > keyword = value connection options.
> >
> > The idea is to have connection information stored centrally on an LDAP
> > server rather than on the client machine.
>
> I forgot to mention that there was a brief discussion about this on
> Hackers:
> http://archives.postgresql.org/pgsql-hackers/2006-02/msg00828.php
>
> My implementation follows the idea from
> http://archives.postgresql.org/pgsql-hackers/2006-02/msg01198.php
>
> I thought it would be good to have some real code as a basis for
> further discussion whether this is a desirable feature or not.
>
> I felt somewhat encouraged because PostgreSQL already has a
> dependency on OpenLDAP since
> http://archives.postgresql.org/pgsql-patches/2005-12/msg00375.php
> and I do not have to introduce a new dependency.

Where are we on this? It allows pg_service.conf to query LDAP for
connection strings. Is it a feature people want?

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Jeremy Drake 2006-04-22 00:08:59 Re: patch to have configure check if CC is intel C compiler
Previous Message Bruce Momjian 2006-04-21 23:56:20 Re: WAL logging of SELECT ... INTO command