From dev-return-17130-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Sun Apr 01 07:34:26 2007 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 77216 invoked from network); 1 Apr 2007 07:34:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Apr 2007 07:34:25 -0000 Received: (qmail 20224 invoked by uid 500); 1 Apr 2007 07:34:32 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 20185 invoked by uid 500); 1 Apr 2007 07:34:32 -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 20174 invoked by uid 99); 1 Apr 2007 07:34:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 00:34:32 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 212.27.42.35 is neither permitted nor denied by domain of elecharny@gmail.com) Received: from [212.27.42.35] (HELO smtp5-g19.free.fr) (212.27.42.35) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 00:34:23 -0700 Received: from [192.168.0.1] (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by smtp5-g19.free.fr (Postfix) with ESMTP id 997E238297 for ; Sun, 1 Apr 2007 09:34:02 +0200 (CEST) Message-ID: <460F606A.6070105@gmail.com> Date: Sun, 01 Apr 2007 09:34:02 +0200 From: Emmanuel Lecharny User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [Documentation] Partition Concept - Sound OK? References: <460EED04.3000507@gmail.com> In-Reply-To: <460EED04.3000507@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Ole Ersoy a écrit : > Does this sound ok? > > (There's a little HTML in here...) > > The X500 Partition concept is best illustrated > through examples. >
>
> The following list of DNs must be partitions. >
    >
  • DN: ou=system
  • >
  • DN: ou=com
  • >
  • DN: ou=org
  • >
> The reason for this is that these Naming Contexts > contain a single entry only. The fact that these DN contains a single entry does not make them partitions. And a DN is not a partition, unless it names a partition. The partition concept is not linked to the DN, like a name is not linked to a human : 'winnie the pooh' is not a human only because it has a name... Think of it the other way : you first create the partition, then you name it. A partition is just a container for a tree, and it has a root, which name is used to describe the partition, and as we are in the ldap world, this name is a DN. This partition name will be the suffix of each entry's DN in this partition. >
>
> If a DN is composed of multiple entries, like this: A DN is not composed of entries, but of RDN. http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol#Directory_structure. >
>
> DN: cn=accounts, ou=users, ou=system >
>
> then ou=users, ou=system is a partition if the > directory service > does not allow access to the cn=users ??? I don't see where this cn=users is coming from. > entry. >
>
> If the the directory service allows access to the > cn=users entry, then the partition is > ou=system. >
>
> Thus a partition is the segment of a DN where the > directory service denies access to the left most > entry. nope. I think you are mixing key concepts, here. Just think LDAP as a forest, with a lot of trees (DIT), each tree having one single big root (the suffix). The root is like a tree, but with no leaves. A partition is the whole tree, with the root(suffix) that we use to name the partition, and all the leaves. A leave can't be a part of more than one tree of course. Last point: during autumn, no gardener will pick the dead leaves on the ground ... Emmanuel