Re: LDAP

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Taha Ozket <tahaozket(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: LDAP
Date: 2008-11-16 16:09:15
Message-ID: 492045AB.4080103@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • LDAP at 2008-11-16 13:14:19 from Taha Ozket

Browse pgsql-general by date

  From Date Subject
Next Message Steve Atkins 2008-11-16 17:01:58 Re: Database access over the Internet...
Previous Message Bayless Kirtley 2008-11-16 16:01:07 Re: Database access over the Internet...