Re: ldap authentication multiple ou objects

From: Sim Zacks <sim(at)compulab(dot)co(dot)il>
To: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: ldap authentication multiple ou objects
Date: 2011-02-24 14:10:58
Message-ID: 4D6666F2.80602@compulab.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/24/2011 12:51 AM, Michael Black wrote:

> Look at the "Search Filters" and "LDAP URL" sections of
> http://quark.humbug.org.au/publications/ldap/ldap_tut.html . There are
> some samples of "wildcard" filters there.
I tried a number of possibilities for the ldap url based on the LDAP URL
section and I'm guessing that pg 8.2 doesn't support the ?scope
variable. According to the documentation it is supported in 9.0 but not
in the same format as the RFC documentation in the link you sent me.

Thanks
Sim

> > Date: Wed, 23 Feb 2011 12:43:45 +0200
> > From: sim(at)compulab(dot)co(dot)il
> > To: pgsql-general(at)postgresql(dot)org
> > Subject: [GENERAL] ldap authentication multiple ou objects
> >
> > Is there a way to do ldap authentication in pg_hba on a structure that
> > has multiple ou objects?
> >
> > Lets say I have an ou=Users and then an ou per dept.
> >
> > I want the ldap to do authentication no matter which ou the user is in.
> >
> >
> > My current ldap string is:
> >
> > ldap://ldap.server.local/Users;uid=;,ou=Users,dc=server,dc=local
> >
> > and it works if the user is only in the ou=Users but if he is in any
> sub
> > ou it gives authentication failed.
> >
> >
> > Thanks
> >
> > SIm
> >
> >
> > --
> > Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgsql-general

In response to

Browse pgsql-general by date

  From Date Subject
Next Message marcin mank 2011-02-24 15:24:09 Re: database is bigger after dump/restore - why? (60 GB to 109 GB)
Previous Message Vick Khera 2011-02-24 13:42:57 Re: PostgreSQL database design for a large company