Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9EF16200CBD for ; Thu, 6 Jul 2017 17:54:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9886F166C18; Thu, 6 Jul 2017 15:54:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DFCFB166C12 for ; Thu, 6 Jul 2017 17:54:13 +0200 (CEST) Received: (qmail 95177 invoked by uid 500); 6 Jul 2017 15:54:13 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 95166 invoked by uid 99); 6 Jul 2017 15:54:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2017 15:54:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3DBD7181059 for ; Thu, 6 Jul 2017 15:54:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id FlGJMDVvH_KP for ; Thu, 6 Jul 2017 15:54:11 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id B4E4A5FC3D for ; Thu, 6 Jul 2017 15:54:10 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 2B101506F3CBD for ; Thu, 6 Jul 2017 08:54:09 -0700 (MST) Date: Thu, 6 Jul 2017 08:35:46 -0700 (PDT) From: chinababuilla To: users@activemq.apache.org Message-ID: <1499355346274-4728274.post@n4.nabble.com> Subject: LDAP: userSearchSubtree=true produces Caused by: javax.naming.PartialResultException: Unprocessed Continuation Reference(s) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 06 Jul 2017 15:54:14 -0000 Hi All, I have a requirements for ActiveMQ to authenticate users from LDAP (Active Directory). Users scattered across many groups and search should be performed on all groups and userBase specified below. Here is the details: Exception: *Caused by: javax.naming.PartialResultException: Unprocessed Continuation Reference(s)* My Configuration: LDAPLogin { org.apache.activemq.jaas.LDAPLoginModule required debug=true initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory connectionURL="ldap://{myldaphost}:389" connectionUsername="CN=myuser,OU=Prod,OU=Accts,DC=abc,DC=com" connectionPassword="mypassword" authentication=simple userBase="DC=abc,DC=com" userSearchMatching="(cn={0})" *userSearchSubtree=true * connectionProtocol=s roleBase="OU=Groups,DC=abc,DC=com" roleName=cn roleSearchMatching="(member=cn={1})" roleSearchSubtree=false ; }; After reading few threads, I tried these things: 1. Provided an environment variable Constants.REFERRAL=follow by overriding the open() method from LDAPAuthorizationMap. No use. Looks like my custom class is not been used anywhere. 2. I added jvm parameter -Djava.naming.referral=follow to activemq.bat file and ran. Still no use. What am I missing? Thanks, Chinna -- View this message in context: http://activemq.2283324.n4.nabble.com/LDAP-userSearchSubtree-true-produces-Caused-by-javax-naming-PartialResultException-Unprocessed-Conti-tp4728274.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.