Lists: | pgsql-patches |
---|
From: | "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> |
---|---|
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-18 07:22:52 |
Message-ID: | 52EF20B2E3209443BC37736D00C3C13807F28E0F@EXADV1.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
> 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.
Yours,
Laurenz Albe
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 |
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. +