You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Chad La Joie <la...@itumi.biz> on 2010/10/15 16:20:47 UTC

Proper creation of partitions

I'm not quite sure I understand when I should create a partition.

My end goal is to have two branches (ou=people,dc=example,dc=org and 
ou=groups,dc=example,dc=org).

My first thought was to create a single dc=example,dc=org partition. 
Following the directions for adding a new partition[1], the next step 
would be to add an appropriate context entry to the Root DSE.  The 
problem is that I'm not sure which object class to use for the entry. 
dcObject seems like the natural choice since it contains the dc 
attribute, but that object class is an auxiliary class.  So what 
structural class would I use?

I took the above issue then as a warning that perhaps I wasn't 
partitioning things in the way intended by the software.  Should I 
instead be creating two partitions, one for each branch?  Or, asking it 
another way, does the software assume one partition == one branch?  That 
would remove the issue with context entry since I could use 
organizationalUnit as the object class.

Thanks.

[1] 
http://directory.apache.org/apacheds/1.5/143-adding-your-own-partition-resp-suffix.html
-- 
Chad La Joie
http://itumi.biz
trusted identities, delivered

Re: Proper creation of partitions

Posted by Chad La Joie <la...@itumi.biz>.
Great.  Thanks.

On 10/15/10 12:22 PM, Guillaume Chanaud wrote:
> Le 15/10/2010 16:20, Chad La Joie a écrit :
>> I'm not quite sure I understand when I should create a partition.
>>
>> My end goal is to have two branches (ou=people,dc=example,dc=org and
>> ou=groups,dc=example,dc=org).
>>
>> My first thought was to create a single dc=example,dc=org partition.
>> Following the directions for adding a new partition[1], the next step
>> would be to add an appropriate context entry to the Root DSE. The
>> problem is that I'm not sure which object class to use for the entry.
>> dcObject seems like the natural choice since it contains the dc
>> attribute, but that object class is an auxiliary class. So what
>> structural class would I use?
>>
>> I took the above issue then as a warning that perhaps I wasn't
>> partitioning things in the way intended by the software. Should I
>> instead be creating two partitions, one for each branch? Or, asking it
>> another way, does the software assume one partition == one branch?
>> That would remove the issue with context entry since I could use
>> organizationalUnit as the object class.
>>
>> Thanks.
>>
>> [1]
>> http://directory.apache.org/apacheds/1.5/143-adding-your-own-partition-resp-suffix.html
>>
> Hi,
>
> you first thought is ok :) You just have to create one partition.
> Then you create your context entry for your Root DSE with
> objectClass : organization (structural)
> objectClass : dcObject (auxiliary)
>
>
> Hope it'll be ok
>
> Guillaume
>

-- 
Chad La Joie
http://itumi.biz
trusted identities, delivered

Re: Proper creation of partitions

Posted by Guillaume Chanaud <gu...@connecting-nature.com>.
  Le 15/10/2010 16:20, Chad La Joie a écrit :
> I'm not quite sure I understand when I should create a partition.
>
> My end goal is to have two branches (ou=people,dc=example,dc=org and 
> ou=groups,dc=example,dc=org).
>
> My first thought was to create a single dc=example,dc=org partition. 
> Following the directions for adding a new partition[1], the next step 
> would be to add an appropriate context entry to the Root DSE.  The 
> problem is that I'm not sure which object class to use for the entry. 
> dcObject seems like the natural choice since it contains the dc 
> attribute, but that object class is an auxiliary class.  So what 
> structural class would I use?
>
> I took the above issue then as a warning that perhaps I wasn't 
> partitioning things in the way intended by the software.  Should I 
> instead be creating two partitions, one for each branch?  Or, asking 
> it another way, does the software assume one partition == one branch?  
> That would remove the issue with context entry since I could use 
> organizationalUnit as the object class.
>
> Thanks.
>
> [1] 
> http://directory.apache.org/apacheds/1.5/143-adding-your-own-partition-resp-suffix.html
Hi,

you first thought is ok :) You just have to create one partition.
Then you create your context entry for your Root DSE with
objectClass : organization (structural)
objectClass : dcObject (auxiliary)


Hope it'll be ok

Guillaume