directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mbah Tenjoh-Okwen" <>
Subject Re: Can I create a root entry other than ou=system?
Date Thu, 21 Sep 2006 12:46:00 GMT

thanks for the help and advice you have given me so far.  I could use the
2nd directory partition, but still could not create my own partition.
In the API docs (a link from your site) I saw the class
MutableDirectoryPartitionConfiguration and decided to use it to configure a
partition. I went ahead and took a jar
from the ApacheDS(apacheds_core_1.0_RC4.jar) and included it to my project.
On having a closer look at this file I discovered that
MutableDirectoryPartitionConfiguration did not exist in the "" package but I saw the class
... "MutablePartitionConfiguration"  which contained all the methods I
needed but when I ran my code I got the following line as error report
Exception in thread "main" java.lang.NoClassDefFoundError:

I hope you help me go further.


On 9/20/06, Alex Karasulu <> wrote:
> Stefan Zoerner wrote:
> > Mbah Tenjoh-Okwen wrote:
> >> Im new  to the world of Directory Services and I am using JNDI and the
> >> ApacheDS. I would like to know if its possible to have a root entry
> >> other than the ou=system which comes along with ApacheDS or Im bound
> >> to it? If so how?
> >>
> >> thanks in advance
> > It is necessary to have a partition called ou=system, which holds system
> > related stuff (like the entry for the admin user). But as Ersin already
> > explained, you can have more partitions. I just wanted to add that the
> > default configuration server.xml already contains a second partition
> > with suffix "dc=example,dc=com". You may use this as a template for your
> > own.
> >
> Yes Stefan is right there are two partitions in the stock ApacheDS
> installation.  These hang off of two roots (suffixes or namingContexts
> in LDAP jargon):
> ou=system
> dc=example,dc=com
> You can add more partitions to the server as you need or just change the
> one for dc=exaple,dc=com to suite your needs.
> Good luck,
> Alex

View raw message