LDAP where DN does not include UID attribute

From: Robert Fleming <fleminra(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: LDAP where DN does not include UID attribute
Date: 2009-09-17 16:02:55
Message-ID: 4c0112730909170902k194985bdwbc9478bb07386497@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Following a discussion on the pgsql-admin list <
http://archives.postgresql.org/pgsql-admin/2009-09/msg00075.php>, I have
created a patch to (optionally) allow PostgreSQL to do a LDAP search to
determine the user's DN (as is done in Apache, MediaWiki, Bugzilla, et al.)
instead of building the DN from a prefix and suffix.
This is necessary for schemas where the login attribute is not in the DN,
such as is described here <
http://www.ldapman.org/articles/intro_to_ldap.html#individual> (look for
"name-based"). This patch is against PostgreSQL 8.4.0 from Debian
Lenny-backports. If this would be a welcome addition, I can port it forward
to the latest from postgresql.org.
Thanks in advance for your feedback.
Robert

Attachment Content-Type Size
pg-ldap.patch text/x-patch 3.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-09-17 16:08:04 Re: Feedback on getting rid of VACUUM FULL
Previous Message Simon Riggs 2009-09-17 15:41:26 Re: Feedback on getting rid of VACUUM FULL