Re: LDAP service lookup

From: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
To: "Dawid Kuroczko *EXTERN*" <qnex42(at)gmail(dot)com>
Cc: "Postgres General" <pgsql-general(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: LDAP service lookup
Date: 2007-08-27 14:46:53
Message-ID: D960CB61B694CF459DCFB4B0128514C222095C@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

Dawid Kuroczko wrote:
>>> Then again, apart from libpq I don't see it mentioned anywhere.
[...]
> Looking at the 8.3devel documentation...
>
> I think it should be mentioned in 18. Server Configuration. probably
> somewhere in 18.3 Connections and Authentication, that there is
> a possibility of using Service names instead of traditional connect
> strings -- and a link pointing to libpq-ldap documentation.
> This would make people much less likely to miss this point, especially
> if they don't plan to code in libpq C library. :-)

The server config options are not a good place.

But it could be mentioned in the 'psql' man page, under
'Connection to a database':

$ psql "service=myservice sslmode=require"

<proposed addition>
This way you can also use LDAP for connection parameter lookup (See
Section 30.15).
</proposed addition>
See Section 30.1 for more information on all the available connection
options.

If there are no objections, I'd create a documentation patch for this.

> And, while not belonging to PostgreSQL documentation, but defenately
> belonging iin techdocs, whould be a step-by-step guide of setting up
> pg_services in OID and other LDAP servers. Funny thing, I think I'll
> be looking at putting pg_services in OID as well.

Hmm, a tutorial for configuring LDAP servers would be quite off topic.
I think that the examples in Section 30.15 are sufficient for somebody
who is familiar with LDAP.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2007-08-27 14:49:46 Re: Bigtime scaling of Postgresql (cluster and stuff I suppose)
Previous Message Vivek Khera 2007-08-27 14:43:19 Re: [PERFORM] Partioning tsearch2 a table into chunks and accessing via views

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-08-27 15:00:12 MSVC build system
Previous Message Florian G. Pflug 2007-08-27 14:11:44 Re: [WIP PATCH] Lazily assign xids for toplevel Transactions

Browse pgsql-patches by date

  From Date Subject
Next Message Dawid Kuroczko 2007-08-27 23:01:39 Re: LDAP service lookup
Previous Message Dawid Kuroczko 2007-08-27 13:24:26 Re: LDAP service lookup