From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | David Kerr <dmk(at)mr-paradox(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: pg_hba LDAP Authentication syntax |
Date: | 2010-11-04 21:07:29 |
Message-ID: | AANLkTi=koPbdNM9FEKZs_ugFOD+4t_Hx5tTf1nQj=U0w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Nov 4, 2010 at 13:54, David Kerr <dmk(at)mr-paradox(dot)net> wrote:
> Howdy,
>
> I was hoping someone could help me with ye olde ldap authentication syntax.
>
> I'm currently using PG 8.3.9 and an upgrade is not an option.
>
> Now, that being said, since i'm very new to LDAP i decided to use PG 9 to experiment with
> since it looks like it has an easier syntax.
>
> So what i've got working in PG9 is the following:
> <hba stuff> ldap ldapserver=w.x.y.z ldapbinddn="cn=admin,dc=domain,dc=com" ldapbindpasswd="password"
> ldapbasedn="ou=postgresql,dc=domain,dc=com"
>
>
> I'm trying to translate that to the old syntax of:
> <hba stuff> ldap "ldap://w.x.y.z/ou=postgresql,dc=domain,dc=com;<stuff>"
>
> basically, i don't know how to fit cn=admin and ldapbindpassword into that string.
The search+bind feature is not available on 8.3 - it's a new feature in 9.0.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
From | Date | Subject | |
---|---|---|---|
Next Message | David Kerr | 2010-11-04 22:30:02 | Re: pg_hba LDAP Authentication syntax |
Previous Message | David Kerr | 2010-11-04 20:54:42 | pg_hba LDAP Authentication syntax |