Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 70756 invoked from network); 16 Jul 2010 22:35:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 22:35:57 -0000 Received: (qmail 96295 invoked by uid 500); 16 Jul 2010 22:35:57 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 96102 invoked by uid 500); 16 Jul 2010 22:35:56 -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 96095 invoked by uid 99); 16 Jul 2010 22:35:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 22:35:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,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; Fri, 16 Jul 2010 22:35:46 +0000 Received: by wyb33 with SMTP id 33so2768895wyb.37 for ; Fri, 16 Jul 2010 15:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=H+9ajjXK2du2P4YDcLui+N0mWSY5gjySr3yIRamfOPQ=; b=EYZUaw7VQ8SKlyFvflQzME1VH0K9Afbt+9eVOQP2qZFBZaM8UYgmnMXCH1RkgdRk/p iaDloWHfg/8BuYQM/3PyY94ZvDhaEi0EsSGPOvowpcF6Esba5tvT4GjQcHTrQVuPwWMn UbURFgJo6n9iyG+mc33ezzN1qZr2ZF7ZcXVLw= 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=KprHQTc2WJN9biR23D5J57Ln5C4dWgSMvzrNH/7kiPCH5RBkSSw3rVZ206VmF5ZYLs DoNKBVKaHQItgVR8DAaz4KPFXdQZws9ml9ICgqAquUP0qZ/iliriY0+RnWQFmwBX05yM rl0Ec3Dx+NHxC/uWg0LYMNuJgVJOIMPc5fSvo= Received: by 10.216.93.16 with SMTP id k16mr1297820wef.78.1279319725801; Fri, 16 Jul 2010 15:35:25 -0700 (PDT) Received: from emmanuel-lecharnys-MacBook-Pro.local ([78.192.106.184]) by mx.google.com with ESMTPS id n17sm971782weq.6.2010.07.16.15.35.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Jul 2010 15:35:25 -0700 (PDT) Message-ID: <4C40DF25.6070702@gmail.com> Date: Sat, 17 Jul 2010 00:37:25 +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.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Subentry modifications : a question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, when we submit a modifyRequest, we have three cases to deal with in the subentryInyterceptor : 1) The entry is not a subentry. Normal case, we just have to process the modification (of course, we will add the requested operational attributes if it's associated with one or more AP) 2) The entry is a subentry (it has the 'subentry' ObjectClass) 3) The entry is not a subentry, but we add the 'subentry' ObjectClass. Question : is this thrid case legal ? Can we transform a normal entry to become a subentry ? -- Regards, Cordialement, Emmanuel L�charny www.iktek.com