LDAP configuration changes in 8.4?

Lists: pgsql-general
From: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: LDAP configuration changes in 8.4?
Date: 2009-12-08 15:28:25
Message-ID: 436840.7616.qm@web23604.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Hi Chaps,

I'm setting up a new server on 8.4, and I'm struggling to get LDAP authentication working, even though I've got it working fine on 8.3.

This is the format I'm using in 8.3:

ldap "ldap://notts.net.mycompany.com/My Company/Call Centre Users;CN=;,OU=Call Centre Users,OU=My Company,DC=notts,DC=net,DC=mycompany,DC=com"

So I figured for 8.4 I should use:

ldap ldapserver="ldap://notts.net.mycompany.com/My Company/Call Centre Users" ldapprefix="CN=" ldapsuffix=",OU=Call Centre Users,OU=My Company,DC=notts,DC=net,DC=mycompany,DC=com"

Can anyone spot where I've gone wrong?


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: LDAP configuration changes in 8.4?
Date: 2009-12-08 15:57:04
Message-ID: 9837222c0912080757o3295b098vbbad89a12c344a0f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

2009/12/8 Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>:
> Hi Chaps,
>
> I'm setting up a new server on 8.4, and I'm struggling to get LDAP authentication working, even though I've got it working fine on 8.3.
>
> This is the format I'm using in 8.3:
>
> ldap "ldap://notts.net.mycompany.com/My Company/Call Centre Users;CN=;,OU=Call Centre Users,OU=My Company,DC=notts,DC=net,DC=mycompany,DC=com"
>
> So I figured for 8.4 I should use:
>
> ldap ldapserver="ldap://notts.net.mycompany.com/My Company/Call Centre Users" ldapprefix="CN=" ldapsuffix=",OU=Call Centre Users,OU=My Company,DC=notts,DC=net,DC=mycompany,DC=com"
>
> Can anyone spot where I've gone wrong?

ldapserver="notts.net.mycompany.com"

exclude the ldap:// part, and the base dn part.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/


From: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: LDAP configuration changes in 8.4?
Date: 2009-12-08 16:03:05
Message-ID: 102444.66476.qm@web23601.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

--- On Tue, 8/12/09, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
> ldapserver="notts.net.mycompany.com"
>
> exclude the ldap:// part, and the base dn part.
>

Excellent, that did the trick. Thanks.

Glyn