Re: LDAP - Mailing list pgsql-general

From Magnus Hagander
Subject Re: LDAP
Date
Msg-id 492045AB.4080103@hagander.net
Whole thread Raw
In response to LDAP  ("Taha Ozket" <tahaozket@gmail.com>)
List pgsql-general
Taha Ozket wrote:
> Hi,
>
> I am using ldap for client authentication. I add a line to pg_hba.conf like this
>
> host   all    all    192.168.1.104   255.255.255.0    ldap
> "ldap://ldapserver:389/dc=domain,dc=com,dc=tr;;,sn=;?sub?(objectclass=*)"
>
> but It doesnt work. I dont want to use this type query;
>
> cn=username, dc=domain, dc=com, dc=tr
>
> I want to search with attribute and filter query like this
>
> ldap://hostname:port/base_dn?attributes?scope?filter
>
> how can I use this in pg_hba.conf ?

The LDAP authentication method does not support filtering. It's
something we'd like to add, but I don't know of anybody actively working
on it.

//Magnus


pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Database access over the Internet...
Next
From: Steve Atkins
Date:
Subject: Re: Database access over the Internet...