From: | Bruce Momjian <bruce(at)momjian(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-07-25 21:47:06 |
Message-ID: | 200607252147.k6PLl6d11049@momjian.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.
>
> On Windows the native library wldap32.dll is used, else OpenLDAP.
> If --enable_thread_safety has been given, -lldap_r is appended to
> PTHREAD_LIBS so that libpq will be linked against the tread safe
> library.
>
> There should probably also be a documentation patch for the --with-ldap
> option of ./configure, but I didn't write it because it also belongs to
> the "LDAP Auth" patch.
>
> I have added German translations for the new messages - how can I get
> translations into other languages?
Translations are done later in the release process.
I have heavily modified your patch to be clearer. Please review the
attached version and test it to make sure it still works properly.
Thanks.
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Attachment | Content-Type | Size |
---|---|---|
/pgpatches/ldap | text/x-diff | 16.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2006-07-25 23:20:26 | Re: Time zone definitions to config files |
Previous Message | Tom Lane | 2006-07-25 19:37:58 | Re: Resurrecting per-page cleaner for btree |