Re: LDAP lookup of connection parameters - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: LDAP lookup of connection parameters
Date
Msg-id 200606270011.k5R0BDZ28191@momjian.us
Whole thread Raw
In response to LDAP lookup of connection parameters  ("Albe Laurenz" <all@adv.magwien.gv.at>)
List 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@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PQescapeIdentifier
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] pg_dump -Ft failed on Windows XP