Re: [HACKERS] LDAP where DN does not include UID attribute

2009-12-12 Thread Magnus Hagander
On Sat, Dec 12, 2009 at 12:24, Magnus Hagander wrote: > On Sat, Dec 12, 2009 at 02:41, Robert Haas wrote: >> On Sun, Dec 6, 2009 at 11:29 PM, Greg Smith wrote: >>> Magnus Hagander wrote: >>> >>> On Sun, Nov 29, 2009 at 13:05, Magnus Hagander wrote: >>> >>> >>> I'll be happy to work on this to g

Re: [HACKERS] LDAP where DN does not include UID attribute

2009-12-12 Thread Magnus Hagander
On Sat, Dec 12, 2009 at 02:41, Robert Haas wrote: > On Sun, Dec 6, 2009 at 11:29 PM, Greg Smith wrote: >> Magnus Hagander wrote: >> >> On Sun, Nov 29, 2009 at 13:05, Magnus Hagander wrote: >> >> >> I'll be happy to work on this to get it ready for commit, or do you >> want to do the updates? >>

Re: [HACKERS] LDAP where DN does not include UID attribute

2009-12-11 Thread Robert Haas
On Sun, Dec 6, 2009 at 11:29 PM, Greg Smith wrote: > Magnus Hagander wrote: > > On Sun, Nov 29, 2009 at 13:05, Magnus Hagander wrote: > > > I'll be happy to work on this to get it ready for commit, or do you > want to do the updates? > > > Here's a patch with my work so far. Major points missing

Re: [HACKERS] LDAP where DN does not include UID attribute

2009-12-06 Thread Greg Smith
Magnus Hagander wrote: On Sun, Nov 29, 2009 at 13:05, Magnus Hagander wrote: I'll be happy to work on this to get it ready for commit, or do you want to do the updates? Here's a patch with my work so far. Major points missing is the sanitizing of the username and the docs. It looks

Re: [HACKERS] LDAP where DN does not include UID attribute

2009-11-29 Thread Magnus Hagander
On Sun, Nov 29, 2009 at 13:05, Magnus Hagander wrote: > On Fri, Sep 18, 2009 at 02:24, Robert Fleming wrote: >> On Thu, Sep 17, 2009 at 11:15 AM, Magnus Hagander >> wrote: >>> >>> On Thu, Sep 17, 2009 at 18:02, Robert Fleming wrote: >>> > Following a discussion on the pgsql-admin list >>> >

Re: [HACKERS] LDAP where DN does not include UID attribute

2009-11-29 Thread Magnus Hagander
On Fri, Sep 18, 2009 at 02:24, Robert Fleming wrote: > On Thu, Sep 17, 2009 at 11:15 AM, Magnus Hagander > wrote: >> >> On Thu, Sep 17, 2009 at 18:02, Robert Fleming wrote: >> > Following a discussion on the pgsql-admin list >> > ,

Re: [HACKERS] LDAP where DN does not include UID attribute

2009-09-17 Thread Robert Fleming
On Thu, Sep 17, 2009 at 6:24 PM, Robert Fleming wrote: > The new patch ... > s/printf/ereport(LOG,/

Re: [HACKERS] LDAP where DN does not include UID attribute

2009-09-17 Thread Robert Fleming
On Thu, Sep 17, 2009 at 11:15 AM, Magnus Hagander wrote: > On Thu, Sep 17, 2009 at 18:02, Robert Fleming wrote: > > Following a discussion on the pgsql-admin list > > , I > have > > created a patch to (optionally) allow PostgreSQL t

Re: [HACKERS] LDAP where DN does not include UID attribute

2009-09-17 Thread Magnus Hagander
On Thu, Sep 17, 2009 at 18:02, Robert Fleming wrote: > Following a discussion on the pgsql-admin list > , I have > created a patch to (optionally) allow PostgreSQL to do a LDAP search to > determine the user's DN (as is done in Apach

[HACKERS] LDAP where DN does not include UID attribute

2009-09-17 Thread Robert Fleming
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 fr