LDAP service lookup

From: "Dawid Kuroczko" <qnex42(at)gmail(dot)com>
To: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: LDAP service lookup
Date: 2007-08-25 17:22:13
Message-ID: 758d5e7f0708251022v702d8922r21aa15ea629b906@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

Hello!

I've just accidently stumbled upon
http://www.postgresql.org/docs/8.2/static/libpq-ldap.html
and thought "hey, this is what my friend, a huge BigRDBMS fan, was
telling me about.

Now that I've read it, I think it could be very useful in an
enterpisish sort of way
(addressing databases as "services" not as "host+port+database name"), and
it could be used as an advocacy lever ("you think LDAP directory with
DB-services
is neat? PostgreSQL already has it").

Then again, apart from libpq I don't see it mentioned anywhere. I would like
to have [1] a Setting-up-LDAP-for-PgSQL-HOWTO. I would like to use it
from DBD::Pg (I _guess_ its a matter of DBI->connect('dbi:Pg',
'service=foo', ...);,
but its a wild guess). And I would like to use it from psql (this is a tricky
part, since \c expects DBNAME, not a service name, and using both in
this context would introduce ambiguity).

Could anyone of you tell me about your setups if you use LDAP for
this? How do you feel about it? Which LDAP server do you use?

Regards,
Dawid

[1]: I may get to writing one, as it intrigues me.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shane Ambler 2007-08-25 17:31:27 Re: Bigtime scaling of Postgresql (cluster and stuff I suppose)
Previous Message Robert Treat 2007-08-25 16:52:55 Re: Add Column BEFORE/AFTER another column

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Povolotsky 2007-08-25 18:37:48 Best implementation of PATRICIA
Previous Message Luke Lonergan 2007-08-25 16:56:42 FW: was [PERFORM] partitioned table and ORDER BY indexed_field DESC LIMIT 1

Browse pgsql-patches by date

  From Date Subject
Next Message Albe Laurenz 2007-08-27 07:29:21 Re: LDAP service lookup
Previous Message Stefan Kaltenbrunner 2007-08-25 11:33:26 tab complete changes