Re: [GENERAL] 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: [GENERAL] LDAP service lookup
- Date: Mon, 27 Aug 2007 16:46:53 +0200
- Message-id: <D960CB61B694CF459DCFB4B0128514C222095C@exadv11.host.magwien.gv.at> <text/plain>
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
Home |
Main Index |
Thread Index