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

LDAP lookup of connection parameters

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: LDAP lookup of connection parameters
Date: 2006-03-23 16:49:51
Message-ID: 52EF20B2E3209443BC37736D00C3C138078653F9@EXADV1.host.magwien.gv.at (view raw or flat)
Thread:
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.

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

Attachment: ldap_service_doc.patch
Description: application/octet-stream (2.9 KB)
Attachment: ldap_service.patch
Description: application/octet-stream (14.2 KB)

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2006-03-23 17:27:19
Subject: Re: Where does the time go?
Previous:From: Kevin GrittnerDate: 2006-03-23 16:12:40
Subject: Re: Where does the time go?

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