Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group