Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 95312 invoked from network); 31 Jan 2007 10:07:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2007 10:07:19 -0000 Received: (qmail 96819 invoked by uid 500); 31 Jan 2007 10:07:25 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 96811 invoked by uid 500); 31 Jan 2007 10:07:25 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 96800 invoked by uid 99); 31 Jan 2007 10:07:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 02:07:25 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of elecharny@gmail.com designates 64.233.162.237 as permitted sender) Received: from [64.233.162.237] (HELO nz-out-0506.google.com) (64.233.162.237) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 02:07:16 -0800 Received: by nz-out-0506.google.com with SMTP id i28so135458nzi for ; Wed, 31 Jan 2007 02:06:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=nyyIIelyline35GbXHkqmrebNhb2c+/y4sRqvnnMcq/jC8Zr6dpqwvpgUyiamhM2paxfzPLINnqmnFJYn1/19xYQevhF+1s0+Enhm9C4FjsgO99o2NpzyihUrtIOq/nu5mEe5aGOvma2qOEI1X+jlrIOq7MMVB31TPTbX05CiZo= Received: by 10.64.210.3 with SMTP id i3mr1019056qbg.1170238015801; Wed, 31 Jan 2007 02:06:55 -0800 (PST) Received: by 10.65.96.11 with HTTP; Wed, 31 Jan 2007 02:06:55 -0800 (PST) Message-ID: Date: Wed, 31 Jan 2007 11:06:55 +0100 From: "Emmanuel Lecharny" Reply-To: elecharny@iktek.com To: users@directory.apache.org Subject: Re: Re: ApacheDS non US-ASCII DN manipulation? In-Reply-To: <45C062AD.7070305@ippon.fr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_542_21047948.1170238015754" References: <45BF6DF0.1020200@ippon.fr> <45C062AD.7070305@ippon.fr> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_542_21047948.1170238015754 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 1/31/07, Pierre-Alain RIVIERE wrote: > > > I just clarify because I think you understand that I'm using ApacheDS > API directly. Anyway, that's always good for us :) > > > > Ahhh. This is not a good idea to pass a byte[]... > > > I'm ok with that but I never pass a byte[] to this class. I never used > it at all. Here the code I use to process a search into the directory. > > SearchControls controls =3D new SearchControls(); > controls.setSearchScope(SearchControls.SUBTREE_SCOPE); > > NamingEnumeration results =3D > context.search(baseDN, searchFilter, controls); Hmmmm... Is it possible you copy/paste a full unit test so that I can try i= t on my computer ? If you want to know how we do our integration tests, have = a look at : http://svn.apache.org/viewvc/directory/apacheds/trunk/core-unit/src/test/ja= va/org/apache/directory/server/core/jndi/SearchContextITest.java?revision= =3D499512&view=3Dmarkup > > Hope it helps, > > > > Emmanuel L=E9charny > Thanks for this explanation. But is it applicable with the way I have > embedded ApacheDS - in fact it's not really embedded, my tests just > start the server and that's all -? I can't guarantee it 100% without being able to reproduce the test by myself. The best I can do is to test your test and see what can be the problem. Sorry for the burden. Btw, which version of the server are you currently using ? Emmanuel --=20 Cordialement, Emmanuel L=E9charny www.iktek.com ------=_Part_542_21047948.1170238015754--