Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 47359 invoked from network); 2 Feb 2007 19:03:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 19:03:16 -0000 Received: (qmail 51606 invoked by uid 500); 2 Feb 2007 19:03:23 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 51579 invoked by uid 500); 2 Feb 2007 19:03:22 -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 51568 invoked by uid 99); 2 Feb 2007 19:03:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 11:03:22 -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.234 as permitted sender) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 11:03:13 -0800 Received: by nz-out-0506.google.com with SMTP id i28so837329nzi for ; Fri, 02 Feb 2007 11:02:52 -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=NCO6JYP+LiW8SG6sHnt4uY0zOZgS5WpZqXsxSnBGUGNTnBcb83EbZlAderPvV+q0wHVz4amPetXstv42RAbrdNyE35wajfdRBuPNY2JwFio/zCpu8Xw3m0073bFfbnBM7kGX0y1Pz2pzEdhcnuWeM5uoJDkY/owXIOv9WQyhciw= Received: by 10.65.43.5 with SMTP id v5mr6593555qbj.1170442972282; Fri, 02 Feb 2007 11:02:52 -0800 (PST) Received: by 10.65.96.11 with HTTP; Fri, 2 Feb 2007 11:02:51 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 20:02:52 +0100 From: "Emmanuel Lecharny" Reply-To: elecharny@iktek.com To: users@directory.apache.org Subject: Re: ApacheDS non US-ASCII DN manipulation? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28700_16360374.1170442972005" References: <45BF6DF0.1020200@ippon.fr> <45C0B7E6.7030704@ippon.fr> <45C0CE19.4030103@ippon.fr> <45C22768.5010901@ippon.fr> <45C22ECF.9050609@ippon.fr> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_28700_16360374.1170442972005 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Ok, I have wrote a mini-tutorial which explain how to create unit-tests using Apache Directory Server as a backend. I hope that it's not buggy, and that it can help you to setup a test environment. Note that it won't work with the current 1.0.0 version (there is a problem in one of the unit test class used in the server), and this is the reason you had to rewrote it. I just expect to be able to reproduce your problem now that I have setup a correct env to reproduce it :) Here is the link to the turorial : http://directory.apache.org/apacheds/1.0/embedding.html Hope it helps. On 2/2/07, Emmanuel Lecharny wrote: > > Ok, I think I have to start again and build a sample that simply works. > > What I suggest is taht I will try to setup a real sample and add all the > necessary steps to use ADS as an embeded server for unit tests purpose in= to > a wiki pages, so that everybody will be able to play with it. > > It will take a little bit time (let say it can be done by the end of this > week), but I really think it's needed. > > It won't be #1 on my priority list, but not far... > > I'll get you informed ! > > Thanks ! > > Emmanuel > > On 2/1/07, Pierre-Alain RIVIERE wrote: > > > > Emmanuel Lecharny wrote: > > > > > > Well, I was wrong. What I wanted to say is that the filter is looking > > > for : > > > member=3Dcn=3DPierre-Alain > > > RIVIERE,ou=3DPeoples,ou=3DParis,ou=3DOffices,dc=3Dippon,dc=3Dfr > > > and there is no entry with this value, hence the exception. > > The result is the same even if you process a search over an existing > > entry. > > > > "(&(member=3Dcn=3DBad E=E9k=E0,ou=3DParis,ou=3DOffices,dc=3Dippon,dc=3D= fr)" + > > "(objectClass=3DipponGroup))"; > > > > "(&(member=3Dcn=3DGood One,ou=3DParis,ou=3DOffices,dc=3Dippon,dc=3Dfr)"= + > > "(objectClass=3DipponGroup))"; > > > > And even if "member=3Dcn=3DPierre-Alain > > RIVIERE,ou=3DPeoples,ou=3DParis,ou=3DOffices,dc=3Dippon,dc=3Dfr" does n= ot exist > > ApacheDS should not throw NPE. > > > > > > I have the same pb... Looking... > > > > > > Sorry, I did the test while fixing many differnet other things, so th= e > > > > > bumpy > > > feeling you may have... > > > > No problem, you seem to be a busy guy ;) > > > > > > -- > Cordialement, > Emmanuel L=E9charny > www.iktek.com > --=20 Cordialement, Emmanuel L=E9charny www.iktek.com ------=_Part_28700_16360374.1170442972005--