Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-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 A33AD6A71 for ; Thu, 16 Jun 2011 09:22:28 +0000 (UTC) Received: (qmail 96951 invoked by uid 500); 16 Jun 2011 09:22:27 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 96896 invoked by uid 500); 16 Jun 2011 09:22:27 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 96889 invoked by uid 99); 16 Jun 2011 09:22:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 09:22:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-wy0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 09:22:19 +0000 Received: by wyf22 with SMTP id 22so247948wyf.37 for ; Thu, 16 Jun 2011 02:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=Ax9X1/mkHg2gRbb5h8xvlkwNUN1tti+xdp1DNfbAli8=; b=Ccb6jRhsfEOZisR4wxmuQ1rXli2mWt6qeV9LfAAzVxzceCVQKN/S3GfxrmkvQKwqBm fBtDdQbfe8Xgl7ju8plKpSnhv/TO9Ijx5v9O0pRpOvHG/tarjch/eViAJgAXldUaFY4M nhY23cUQO4a8iTBzfV6B4223Y8/9rLD2/pyMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=NomxeZ/7G/6X4XYJ+z7vTtOS6q8K+JKB4ILxsckGzGvPNXY2RqNT6rH84VgAuYnBTu 1L8ehf7Ch8vJg+5L1WZs3R+muRHCXuzFpW0zHPbamz2X0UmooaTI/IyrE8Jquck8/0s4 gSc6cDoKIr5WG+2TbCqEifYRwlhVOjXNjEc+M= Received: by 10.216.15.137 with SMTP id f9mr633201wef.62.1308216118900; Thu, 16 Jun 2011 02:21:58 -0700 (PDT) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id w58sm716994weq.1.2011.06.16.02.21.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Jun 2011 02:21:57 -0700 (PDT) Message-ID: <4DF9CB33.8000008@gmail.com> Date: Thu, 16 Jun 2011 11:21:55 +0200 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Morning thoughts about alias handling... Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, so I slept on the problem, and here are a few thoughts I had this morning : - first, the alias handling can't be done in the doSimpleSearch() as I thought, because if we do so, alias dereferencing won't be handled when using the coreSession. It must be handled by the EntryFilteringCursor. Remains to see how to implement that there. - second, we may have some issue when an alias points to a non existing entry. What will the cursor.next() return in this case ? The alias exists, so the cursor.next() will move forward, to something that does not exist (this is a Pierre-Arnaud thought). - third, we have to fix the reverter, which doe snot handle correctly alias removal, if the entry which is pointed doe snot exist anymore. There is a JIRA for that issue. I'll do my best today to get something done. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com