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> |
Subject: | Re: LDAP service lookup |
Date: | 2007-08-28 08:23:03 |
Message-ID: | D960CB61B694CF459DCFB4B0128514C2220A8F@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:
> [...] and it also would be valuable to
> add into pg_service.conf.sample an example ldap:// stanza, so if
> person opens the file, she will be enlightened.
I like that idea.
> And a missing feature. Or rather treat it as feature request. :-)
> A "wildcard entry". I would like to set my environment that,
> on each client I would put pg_service.conf having two and only
> two LDAP servers in it (second one for failover. I think the entry
> might look like:
> ### wildcard entry:
> [%] # or [*] ?
>
ldap://ldap1.mycompany.com/dc=mycompany,dc=com?uniqueMember?one?(cn=%s)
>
ldap://ldap2.mycompany.com/dc=mycompany,dc=com?uniqueMember?one?(cn=%s)
>
> Which, when given:
> psql "service = foobarbaz"
> ..would query ...?(cn=foobarbaz)
This is also worth thinking about ... it would make the code and
the pg_service.conf file more complicated, but would definitely be
useful
if you only use the service file for LDAP lookup.
Yours,
Laurenz Albe
From | Date | Subject | |
---|---|---|---|
Next Message | Patryk Kordylewski | 2007-08-28 08:28:14 | ERROR: table row type and query-specified row type do not match |
Previous Message | Dave Page | 2007-08-28 08:21:31 | Re: Windows Download |
From | Date | Subject | |
---|---|---|---|
Next Message | Enrico | 2007-08-28 09:39:27 | Re: Diffondete...... |
Previous Message | Heikki Linnakangas | 2007-08-28 08:22:46 | Re: Insufficient attention to security in contrib (mostly) |
From | Date | Subject | |
---|---|---|---|
Next Message | Albe Laurenz | 2007-08-29 09:16:23 | documentation patch for LDAP service lookup |
Previous Message | Dawid Kuroczko | 2007-08-27 23:01:39 | Re: LDAP service lookup |