Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UenKt-0008Kn-QW for pgsql-bugs@arkaria.postgresql.org; Tue, 21 May 2013 14:14:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UenKt-0004rX-AP for pgsql-bugs@arkaria.postgresql.org; Tue, 21 May 2013 14:14:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UegSi-0007R8-4n for pgsql-bugs@postgresql.org; Tue, 21 May 2013 06:54:20 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UegSa-0006RF-Oq for pgsql-bugs@postgresql.org; Tue, 21 May 2013 06:54:19 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UegSX-0005ft-W1 for pgsql-bugs@postgresql.org; Mon, 20 May 2013 23:54:10 -0700 Date: Mon, 20 May 2013 23:54:09 -0700 (PDT) From: Andrzej Cedro To: pgsql-bugs@postgresql.org Message-ID: <1369119249672-5756292.post@n5.nabble.com> In-Reply-To: References: Subject: Re: BUG #7659: LDAP auth does not search the subtree MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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-tp5732369p5756292.html 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