pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrzej Cedro <andrzej.cedro@wp.pl>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #7659: LDAP auth does not search the subtree
Date: Mon, 20 May 2013 23:54:09 -0700 (PDT)
Message-ID: <1369119249672-5756292.post@n5.nabble.com> (raw)
In-Reply-To: <E1TYizx-0000RZ-EU@wrigleys.postgresql.org>
References: <E1TYizx-0000RZ-EU@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

I use PostgeSQL 9.1 32-bit on Windows 7 Professional with Active Directory as
LDAP.
I have following configration in pg_hba.conf:

host	 all	 all	 all	 ldap	 ldapserver=192.168.155.157
ldapbinddn="CN=aaaaaa,OU=bbbbb,DC=cccc,DC=dddd" ldapbindpasswd=******
ldapbasedn="DC=cccc,DC=dddd" ldapsearchattribute=sAMAccountName

Search is performed over the subtree at ldapbasedn, but is much more slower
then search exactly on the same level as where the user resides. I think
that search is performed on every database operation.

May be your problem is "timeout problem"

I found that you wrote ldapbase*db* in parameters when ldapbase*dn* is
required.

----





--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-7659-LDAP-auth-does-not-search-the-subtree-tp5732369p575...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <1369119249672-5756292.post@n5.nabble.com>
Permalink:  ../1369119249672-5756292.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1369119249672-5756292.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andrzej.cedro@wp.pl
  Subject: Re: BUG #7659: LDAP auth does not search the subtree
  In-Reply-To: <1369119249672-5756292.post@n5.nabble.com>
  References: <E1TYizx-0000RZ-EU@wrigleys.postgresql.org> <1369119249672-5756292.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox