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-06-27 00:11:13
Message-ID: 200606270011.k5R0BDZ28191@momjian.us (view raw or flat)
Thread:
Lists: pgsql-patches
I am confused why this patch requires libldap_r.  Is there a need for
threading?  Should this be contingent on whether the threading flag was
passed to configure?

---------------------------------------------------------------------------

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?
> 
> Yours,
> Laurenz Albe

Content-Description: ldap_service.patch

[ Attachment, skipping... ]

Content-Description: ldap_service_doc.patch

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

-- 
  Bruce Momjian   bruce(at)momjian(dot)us
  EnterpriseDB    http://www.enterprisedb.com

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

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2006-06-27 01:18:44
Subject: Re: [HACKERS] pg_dump -Ft failed on Windows XP
Previous:From: Bruce MomjianDate: 2006-06-27 00:03:30
Subject: Re: [HACKERS] PQescapeIdentifier

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