Loading... Cancel

ApacheDS - Directory Service R

May 12th, 2007

I knew about this project since it has started, but never felt interest to give it a try. so today at morning i just had it with my breakfast yammy yammy. it taste like sweat meat though bit fatty. it was really a great breakfast.

ApacheDS is using Spring IoC container. it seems more promising, i wrote the following configuration to let my “dc=escenic, dc=com” DN works .

(#) File: $APACHE_DS_HOME/conf/server.xml

—————————-

< bean id="escenicComPartitionConfiguration" class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration" >
< property name="name" >< value >escenic< /value >< /property >
< property name="cacheSize" value="100" / >
< property name="suffix" >< value >dc=escenic,dc=com< /value >< /property >
< property name="synchOnWrite" value="true" / >
< property name="indexedAttributes" >
< set >
< value >objectClass< /value >
< value >ou< /value >
< value >uid< /value >
< /set >
< /property >
< property name="contextEntry" >
< value >
objectClass: dcObject
objectClass: organization
dc: escenic
o: Escenic
description: Escenic content management system
< /value >
< /property >
< /bean >

Yet another configuration. let apacheds know about your new partition. this could be done adding a new property under “configuration” bean.

< property name="partitionConfigurations" >
< set >
< ref bean="examplePartitionConfiguration"/ >
< ref bean="escenicComPartitionConfiguration"/ >
< /set >
< /property >

Thats all, it is working like shhhhhhhhhhhhh…..!!

best wishes,