[ http://issues.apache.org/jira/browse/DIR-180?page=all ]
Ole Ersoy updated DIR-180:
--------------------------
Attachment: server.xml.patch
Patch file
> Added some comments to server.xml related to configuring partitions
> -------------------------------------------------------------------
>
> Key: DIR-180
> URL: http://issues.apache.org/jira/browse/DIR-180
> Project: Directory
> Type: Improvement
> Environment: N/A
> Reporter: Ole Ersoy
> Assignee: Alex Karasulu
> Priority: Trivial
> Attachments: server.xml.patch
>
> 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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira