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: (view raw, whole thread or download thread mbox)
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

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
"LDAP Auth" patch.

I have added German translations for the new messages - how can I get
translations into other languages?

Laurenz Albe

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


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-2017 The PostgreSQL Global Development Group