Issue Details (XML | Word | Printable)

Key: DIR-180
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Trivial Trivial
Assignee: Ole Ersoy
Reporter: Ole Ersoy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory

Added some comments to server.xml related to configuring partitions

Created: 27/Feb/06 03:23 AM   Updated: 06/May/09 04:09 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works server.xml.patch 2006-02-27 03:24 AM Ole Ersoy 2 kB
Environment: N/A

Resolution Date: 06/May/09 04:09 PM


 Description  « Hide
Here's a paste of the patch. I don't see a button for attaching it here, so I'll try to attach the file later, if I find the button for it.

Index: /home/ole/workspace-mdc0/mdc.multi/server-main/server.xml
===================================================================
--- /home/ole/workspace-mdc0/mdc.multi/server-main/server.xml (revision 381130)
+++ /home/ole/workspace-mdc0/mdc.multi/server-main/server.xml (working copy)
@@ -58,6 +58,18 @@
     <property name="enableKerberos"><value>false</value></property>
     <property name="enableChangePassword"><value>false</value></property>
     <property name="ldapPort"><value>10389</value></property>
+
+
+ <!-- This property contains a list of references to partitions. -->
+ <!-- If you add another partition (like dc=example, dc=com) as -->
+ <!-- shown using the bean with id examplePartitionConfiguration -->
+ <!-- you have to put a ref element here that has it's bean attribute -->
+ <!-- set to the value of the id attribute of the element representing -->
+ <!-- the partition -->
+
+ <!-- If you search for the string "examplePartitionConfiguration" you will -->
+ <!-- find the bean that the ref element below corresponds to -->
+
     <property name="contextPartitionConfigurations">
       <set>
         <ref bean="examplePartitionConfiguration"/>
@@ -159,6 +171,13 @@
     </property>
   </bean>
   
+
+ <!-- Note that if you add another partition here, you have to -->
+ <!-- add a corresponding ref element for it within the contextPartitionConfiguration -->
+ <!-- property element. Look for the property element with name contextPartitionConfigurations -->
+ <!-- at the beginning of the of this file. There you will see a ref element with with its -->
+ <!-- bean attribute set to "examplePartitionConfiguration", the id of the bean element below -->
+
   <bean id="examplePartitionConfiguration" class="org.apache.directory.server.core.configuration.MutableDirectoryPartitionConfiguration">
     <property name="name"><value>example</value></property>
     <property name="suffix"><value>dc=example,dc=com</value></property>



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.