Re: LDAP service lookup - Mailing list pgsql-general

From Albe Laurenz
Subject Re: LDAP service lookup
Date
Msg-id D960CB61B694CF459DCFB4B0128514C222095C@exadv11.host.magwien.gv.at
Whole thread Raw
In response to LDAP service lookup  ("Dawid Kuroczko" <qnex42@gmail.com>)
Responses Re: LDAP service lookup  ("Dawid Kuroczko" <qnex42@gmail.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Vivek Khera
Date:
Subject: Re: [PERFORM] Partioning tsearch2 a table into chunks and accessing via views
Next
From: Vivek Khera
Date:
Subject: Re: Bigtime scaling of Postgresql (cluster and stuff I suppose)