Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 9712 invoked from network); 14 Jan 2011 09:42:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2011 09:42:22 -0000 Received: (qmail 47261 invoked by uid 500); 14 Jan 2011 09:42:21 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 47066 invoked by uid 500); 14 Jan 2011 09:42:19 -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 47059 invoked by uid 99); 14 Jan 2011 09:42:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 09:42:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pajbam@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 09:42:11 +0000 Received: by wwa36 with SMTP id 36so2787638wwa.1 for ; Fri, 14 Jan 2011 01:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=uGQTiDn9FLoVARisFmIiSuq5Kgf0t3lxS8c3Cxf+YNI=; b=fgUnmMorotcS2NgloXFbPKiexdkQSFo4LkTgI8DJzj3vsuQ4aXqs8nDosCrFW03fYK NEnMu8RJkR6NxPezY5+GVXIirq/DdX3+FOoky5e8VT/jTPYzNsCIAYwVDU1AxXep+xrL PZmxA5OiHhm/CsZilp/dzNgVnuAXlyvuT9ptM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=k/jPfwHb2bjR8IWaSxtuKhOg4XZXaZFvjmBAoR7uyP0UZx2Hka1+Y0fuxyYDiRfumX vkgBLuQTbHiSpDzi+2vIuFvFT1HFlIxqxBlSqh7p1FVTusv5u0QPDnH2g5UV5ArR1qNn WBNzlrPrnhZ1No4P3c1XpnhQN+7tvrmSqIlpQ= Received: by 10.227.24.73 with SMTP id u9mr475690wbb.168.1294998110982; Fri, 14 Jan 2011 01:41:50 -0800 (PST) Received: from [10.0.1.2] (def92-4-82-225-58-213.fbx.proxad.net [82.225.58.213]) by mx.google.com with ESMTPS id 11sm757566wbi.6.2011.01.14.01.41.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 Jan 2011 01:41:49 -0800 (PST) Sender: Pierre-Arnaud Marcelot Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Should modifications made on cn=schema stored on disk ? From: Pierre-Arnaud Marcelot In-Reply-To: <9F00E91A-BAA4-4DD3-A6C4-319C7229F472@marcelot.net> Date: Fri, 14 Jan 2011 10:41:48 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <2E643E87-49A4-401E-9766-BF1C1527DABF@marcelot.net> References: <4D300356.4060302@gmail.com> <1890E54A-DDBB-45FF-B50F-D5303451D2A4@marcelot.net> <4D30162B.9030703@gmail.com> <9F00E91A-BAA4-4DD3-A6C4-319C7229F472@marcelot.net> To: Apache Directory Developers List X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org Maven 3.0.2 installed. Same warnings... Regards, Pierre-Arnaud =09 On 14 janv. 2011, at 10:37, Pierre-Arnaud Marcelot wrote: >=20 > On 14 janv. 2011, at 10:23, Emmanuel Lecharny wrote: >=20 >> On 1/14/11 9:58 AM, Pierre-Arnaud Marcelot wrote: >>> Hi Emmanuel, >>>=20 >>> I think it should. >>>=20 >>> In the current state, does this mean that any modification done on = ou=3Dschema will not be saved and will be lost if the server is = rebooted? >>=20 >> No, modifications done on ou=3Dschema are persisted on disk. Only the = modifications done on cn=3Dschema are not persisted, AFAICT. >=20 > Hum... I'm confused... > You just said the opposite in your first mail: "[...] modification is = not stored on disk in ou=3Dschema"... >=20 >> I'll create a JIRA and a test to demonstrate the issue. >>=20 >> Fixing it should not be a problem, it's just a a matter of converting = the schema element (which is passed using the schema element syntax) to = a meta-schema entry, and propagate it to the backend. >>=20 >> Remember that modifications to cn=3Dschema are *not* allowed (it's a = read only data structure) from outside the server, but it's always = possible to modify the rootDSE subschemaSubentry attribute, as it = contains all the loaded schema element. This will, in fact, impact the = cn=3Dschema, as it's just a LDAP exposition of the loaded schema. >=20 > Hum... I'm confused again... > To my knowledge, 'subschemaSubentry' attribute value points to the = "cn=3Dschema" DN and that's in this particular entry that you can access = the schema elements (via 'attributeTypes', 'comparators', [etc.] = attributes). > I'm 100% sure 'subschemaSubentry' attribute does not contain any = loaded schema element. >=20 >>=20 >>=20 >> --=20 >> Regards, >> Cordialement, >> Emmanuel L=E9charny >> www.iktek.com >>=20 >=20