directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r329365 - /directory/apacheds/trunk/main/server.xml
Date Sat, 29 Oct 2005 03:46:07 GMT
Author: erodriguez
Date: Fri Oct 28 20:46:04 2005
New Revision: 329365

URL: http://svn.apache.org/viewcvs?rev=329365&view=rev
Log:
Updated default server.xml:
o  Changed 'apache' to 'example'.
o  Updated the partition to support Kerberos.
o  Added prototype props for kdc and changepw configuration.

Modified:
    directory/apacheds/trunk/main/server.xml

Modified: directory/apacheds/trunk/main/server.xml
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/main/server.xml?rev=329365&r1=329364&r2=329365&view=diff
==============================================================================
--- directory/apacheds/trunk/main/server.xml (original)
+++ directory/apacheds/trunk/main/server.xml Fri Oct 28 20:46:04 2005
@@ -7,19 +7,22 @@
   <bean id="environment" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
     <property name="properties">
       <props>
-    	  <prop key="asn.1.berlib.provider">org.apache.ldap.common.berlib.asn1.SnickersProvider</prop>
-    	  <!--prop key="asn.1.berlib.provider">org.apache.asn1new.ldap.TwixProvider</prop-->
-    	  <prop key="java.naming.security.authentication">simple</prop>
-    	  <prop key="java.naming.security.principal">uid=admin,ou=system</prop>
-          <prop key="java.naming.security.credentials">secret</prop>
-          <prop key="java.naming.ldap.attributes.binary">photo personalSignature audio
jpegPhoto javaSerializedData userPassword userCertificate cACertificate authorityRevocationList
certificateRevocationList crossCertificatePair x500UniqueIdentifier krb5Key</prop>
-          <prop key="kdc.entryBaseDn">ou=Users,dc=apache,dc=org</prop>
+        <prop key="asn.1.berlib.provider">org.apache.ldap.common.berlib.asn1.SnickersProvider</prop>
+        <!--prop key="asn.1.berlib.provider">org.apache.asn1new.ldap.TwixProvider</prop-->
+        <prop key="java.naming.security.authentication">simple</prop>
+        <prop key="java.naming.security.principal">uid=admin,ou=system</prop>
+        <prop key="java.naming.security.credentials">secret</prop>
+        <prop key="java.naming.ldap.attributes.binary">photo personalSignature audio
jpegPhoto javaSerializedData userPassword userCertificate cACertificate authorityRevocationList
certificateRevocationList crossCertificatePair x500UniqueIdentifier krb5Key</prop>
+        <!--<prop key="kdc.entryBaseDn">ou=users,dc=example,dc=com</prop>-->
+        <!--<prop key="kdc.java.naming.security.credentials">secret</prop>-->
+        <!--<prop key="changepw.entryBaseDn">ou=users,dc=example,dc=com</prop>-->
+        <!--<prop key="changepw.java.naming.security.credentials">secret</prop>-->
       </props>
     </property>
   </bean>
   
   <bean id="configuration" class="org.apache.ldap.server.configuration.MutableServerStartupConfiguration">
-    <property name="workingDirectory"><value>apache.org</value></property>
+    <property name="workingDirectory"><value>example.com</value></property>
 
     <!-- Uncomment below to have the server load entries on startup!        -->
     <!-- ldifDirectory property can point to a relative file, directory or  -->
@@ -31,16 +34,14 @@
     <!-- kerberos principals creating keys for them using their             -->
     <!-- userPassword attribute if present.                                 -->
 
-    <!--
-    <property name="ldifDirectory">
-      <value>blah.ldif</value>
+    <!--<property name="ldifDirectory">
+      <value>example.ldif</value>
     </property>
     <property name="ldifFilters">
       <list>
         <bean class="org.apache.protocol.common.store.Krb5KdcEntryFilter"/>
       </list>
-    </property>
-    -->
+    </property>-->
 
     <property name="allowAnonymousAccess"><value>false</value></property>
     <property name="accessControlEnabled"><value>false</value></property>
@@ -50,7 +51,7 @@
     <property name="ldapPort"><value>10389</value></property>
     <property name="contextPartitionConfigurations">
       <set>
-        <ref bean="apachePartitionConfiguration"/>
+        <ref bean="examplePartitionConfiguration"/>
       </set>
     </property>
     <property name="bootstrapSchemas">
@@ -136,13 +137,15 @@
     </property>
   </bean>
   
-  <bean id="apachePartitionConfiguration" class="org.apache.ldap.server.configuration.MutableDirectoryPartitionConfiguration">
-    <property name="name"><value>apache</value></property>
-    <property name="suffix"><value>dc=apache,dc=org</value></property>
+  <bean id="examplePartitionConfiguration" class="org.apache.ldap.server.configuration.MutableDirectoryPartitionConfiguration">
+    <property name="name"><value>example</value></property>
+    <property name="suffix"><value>dc=example,dc=com</value></property>
     <property name="indexedAttributes">
       <set>
-        <value>objectClass</value>
+        <value>dc</value>
         <value>ou</value>
+        <value>objectClass</value>
+        <value>krb5PrincipalName</value>
         <value>uid</value>
       </set>
     </property>
@@ -151,7 +154,7 @@
         objectClass: top
         objectClass: domain
         objectClass: extensibleObject
-        dc: apache
+        dc: example
       </value>
     </property>
   </bean>



Mime
View raw message