Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 88147 invoked from network); 22 Jan 2009 10:05:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2009 10:05:58 -0000 Received: (qmail 86893 invoked by uid 500); 22 Jan 2009 10:05:58 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 86875 invoked by uid 500); 22 Jan 2009 10:05:57 -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 86864 invoked by uid 99); 22 Jan 2009 10:05:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 02:05:57 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pajbam@gmail.com designates 64.233.170.186 as permitted sender) Received: from [64.233.170.186] (HELO rn-out-0910.google.com) (64.233.170.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 10:05:49 +0000 Received: by rn-out-0910.google.com with SMTP id j43so625801rne.3 for ; Thu, 22 Jan 2009 02:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=QNK/iaoqNxmsllu4O4gfeszUfNRo+QUMPrfseQn2pSA=; b=rMMjwuYey9IuEuGIbVadkJHLgmWvGvEVy/clMY9j6OtFnYvWPbMjuZoV+LUfyiQiES neiRxH1ZxZjar5eaBpvzzfy/z+wSa0Y251PTua3aZ1khq+rdmI678xzj1QG+Vpkxe00q fxEu4x1YTclODHSzU7i60gkWwtisH7QIAoS68= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=m1y8PQOTrBdCcrn4l12KWWMFA+mki39M3+tHsV4w7jbJi92uB7Hf2mzxBp0SCy3/dA zCs1PatifSyE2I1tJQfvN4wdG7fyeFmSyp6wgzaiTqjThdoYanC83q1ls9Wo2ha6qFT2 zcy7C0cr0YLo9E2PCXtSgcUnVo2ezgf1zDWl8= MIME-Version: 1.0 Sender: pajbam@gmail.com Received: by 10.65.235.7 with SMTP id m7mr554276qbr.134.1232618728772; Thu, 22 Jan 2009 02:05:28 -0800 (PST) In-Reply-To: <20090122105119.mca1esxlw0sg040g@www.seelmann-it.de> References: <4977C47B.5020807@greenfossil.com> <4977C636.4060006@nextury.com> <4977D506.6080502@greenfossil.com> <497831E7.8020003@nextury.com> <20090122105119.mca1esxlw0sg040g@www.seelmann-it.de> Date: Thu, 22 Jan 2009 11:05:28 +0100 X-Google-Sender-Auth: cdd2d5c3813d967e Message-ID: <98d8c0860901220205h6e45f232wceebe512d931bafd@mail.gmail.com> Subject: Re: Apache Studio ldif export From: Pierre-Arnaud Marcelot To: users@directory.apache.org Content-Type: multipart/alternative; boundary=00c09f9e0c5878d5a404610f69ad X-Virus-Checked: Checked by ClamAV on apache.org --00c09f9e0c5878d5a404610f69ad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Stefan, I confirm I was using the "subtree" scope. Emmanuel suspects the embedded Apache DS to not deliver the search results in the correct hierarchical order. As far as I remember in the LDIF export job, we're iterating on each result given by the server through a NamingEnumeration (then converted as an LdifEnumeration, or something like that...). Now, the question is, Is it Apache DS' duty to deliver the search results i= n the correct hierarchical order, or is it more up to the client (Studio) to reorder the results afterwards. I don't know what the RFCs specify for that. Regards, P-A On Thu, Jan 22, 2009 at 10:51 AM, Stefan Seelmann wrot= e: > Hi, > > I think the problem is when doing an export with scope "subtree". In that > case Studio just sends one search request with subtree scope and writes t= he > entries in the same order as received to the LDIF. > > I think reordering them in Studio doesn't make sense, we can't hold them > all in memory. > > An option would be to do multiple one-level scope searches. > > Kind Regards, > Stefan > > > Quoting Emmanuel Lecharny : > > Cheong Chung Onn wrote: >> >>> We are using ADS 1.5.4, Studio 1.3.0. Java. >>> >>> We created an embedded server in Studio then import the ldif file. Did >>> some modification and export it again. When we import this newly expor= ted >>> ldif, we receive a bunch of error messages about missing object. >>> >>> Please let me know if you require more info. >>> >> Ok, this was what we suspected... A clear bug somewhere. >> >> Can you fill a JIRA with the informations you gave by mail ? >> Eventually, providing the data you injected would help to reproduce the >> problem, and determinate if it's a Studio or ADS problem. (of course, >> if there are nothing confidential in it). >> >> Many thanks ! >> >> -- >> -- >> cordialement, regards, >> Emmanuel L=E9charny >> www.iktek.com >> directory.apache.org >> > > > > --00c09f9e0c5878d5a404610f69ad--