Skip site navigation (1) Skip section navigation (2)

Re: LDAP lookup of connection parameters

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 (view raw or flat)
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: /pgpatches/ldap
Description: text/x-diff (16.1 KB)

In response to

pgsql-patches by date

Next:From: David FetterDate: 2006-07-25 23:20:26
Subject: Re: Time zone definitions to config files
Previous:From: Tom LaneDate: 2006-07-25 19:37:58
Subject: Re: Resurrecting per-page cleaner for btree

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group