Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABC6917F31 for ; Mon, 3 Nov 2014 15:30:44 +0000 (UTC) Received: (qmail 92072 invoked by uid 500); 3 Nov 2014 15:30:38 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 92026 invoked by uid 500); 3 Nov 2014 15:30:38 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 92015 invoked by uid 99); 3 Nov 2014 15:30:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2014 15:30:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ian@ianduffy.ie designates 209.85.216.171 as permitted sender) Received: from [209.85.216.171] (HELO mail-qc0-f171.google.com) (209.85.216.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2014 15:30:12 +0000 Received: by mail-qc0-f171.google.com with SMTP id m20so9172589qcx.2 for ; Mon, 03 Nov 2014 07:30:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=mHvVFNp1ZdA4wk5dsTbK5c6hOc9bAUxe585A22XfT5g=; b=KMwsaDGsy1HGfyGgDFW/cyJdFISVnAOAdwe2JtS2jzv7fwy4WRrCsSOHB/yv3cyeHP TeVbdmoCV5e32A0/imsQbP3DGN5VJjBJg++ZCiYmOR06DUfiLxghjuoMzfcf7BlYPcu7 XZzRWN50/F7woJlusZkotN4L1Qk8s1IaxIravtW/qZzctRlJr5LdRxXWg5Guk8Lo0yku nF1fv0apMDkIa0tKdficDPPPacXpGTapj0nCHs/tI+Mu1IaXPmLsRmuubu8QVoL5oPM3 s1ZgQz31j+X9cUbBS121eoAVvgSluFd/tEGUUrBnV+T7N0ZEtCp76Ujtkhac+2fQoHkx gAiA== X-Gm-Message-State: ALoCoQnE6eSUx+lreqQJ6+oejYmNHoXpwAMVm7M9kvAwOpus2QNpEJy7LH8+BQ999uyOxH4jyjO2 MIME-Version: 1.0 X-Received: by 10.140.105.37 with SMTP id b34mr61843619qgf.91.1415028611121; Mon, 03 Nov 2014 07:30:11 -0800 (PST) Received: by 10.96.32.5 with HTTP; Mon, 3 Nov 2014 07:30:11 -0800 (PST) X-Originating-IP: [136.206.142.210] Received: by 10.96.32.5 with HTTP; Mon, 3 Nov 2014 07:30:11 -0800 (PST) In-Reply-To: References: Date: Mon, 3 Nov 2014 15:30:11 +0000 Message-ID: Subject: Re: ldap with microsoft ad on 4.5 From: Ian Duffy To: CloudStack Dev Content-Type: multipart/alternative; boundary=001a1137c928b6a0670506f60578 X-Virus-Checked: Checked by ClamAV on apache.org --001a1137c928b6a0670506f60578 Content-Type: text/plain; charset=UTF-8 Hi Rajani, That's a pity. I don't have anything near me to test this on at the moment. Have you tried running tcpdump on the management server to inspect the responses from AD? On 3 Nov 2014 10:41, "Rajani Karuturi" wrote: > already tried. didnt work. > > ~Rajani > > On Mon, Nov 3, 2014 at 4:10 PM, Ian Duffy wrote: > > > Hi Rajani, > > > > in the LdapContextFactory.java class can you try setting the an extra > > environment variable. > > > > environment.put(*Context.REFERRAL*, "follow"); > > > > http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html > > > > Let me know if this solves it for you. > > Ian. > > > > On 3 November 2014 09:32, Rajani Karuturi wrote: > > > > > using Apache Directory Server works fine on 4.3 and 4.5. > > > But, If I use Microsoft AD(on windows server 2012), it doesnt work on > > 4.5. > > > > > > It binds to the server properly. But, it doesnt list any users. > > > I see "javax.naming.PartialResultException: Unprocessed Continuation > > > Reference(s);" exception with no stacktrace. > > > > > > The same server and configuration works on 4.3 instance. > > > > > > Did anyone notice this? Any pointers? > > > > > > > > > ~Rajani > > > > > > --001a1137c928b6a0670506f60578--