"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
- <bean id="environment"
- class="org.springframework.beans.factory.config.PropertiesFactoryBean">
- <property name="properties">
- <props>
- <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="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>
- -->
- <!--
- Set this key to a space delimited set of attributeType descriptions
- and their OID's if you want an attributeType to be handled as
- binary content. The server will use the schema to derive the set of
- attributeTypes to treat as binary. The union if the values you
- provide here will be taken as the set of binaries. Note to be
- consistent you must add both the OID and all the names an
- attributeType can have.
- -->
- <!--
- <prop key="java.naming.ldap.attributes.binary"></prop>
- -->
- </props>
- </property>
- </bean>
-
<bean id="configuration"
class="org.apache.directory.server.configuration.MutableServerStartupConfiguration">
<property name="workingDirectory" value="example.com" />
-->
<!--
- <property name="ldifDirectory"> <value>example.ldif</value>
- </property> <property name="ldifFilters"> <list> <bean
- class="org.apache.directory.server.protocol.shared.store.Krb5KdcEntryFilter"/>
- </list> </property>
+ <property name="ldifDirectory">
+ <value>${argeo.ads.init.ldif}</value>
+ </property> -->
+
+ <!--
+ <property name="ldifFilters"> <list> <bean
+ class="org.apache.directory.server.protocol.shared.store.Krb5KdcEntryFilter"
+ /> </list> </property>
-->
+
<!--
the number of milliseconds before issuing a synch (flush to disk)
-->
-->
<property name="maxThreads" value="8" />
- <property name="allowAnonymousAccess" value="false" />
+ <property name="allowAnonymousAccess" value="true" />
<property name="accessControlEnabled" value="false" />
<property name="enableNtp" value="false" />
<property name="enableKerberos" value="false" />
-->
<property name="denormalizeOpAttrsEnabled" value="false" />
- <property name="ldapPort" value="10389" />
+ <property name="ldapPort" value="${argeo.ldap.port}" />
<property name="systemPartitionConfiguration" ref="systemPartitionConfiguration" />
</set>
</property>
<property name="contextEntry">
- <value>
+ <value><![CDATA[
objectClass: top
objectClass: organizationalUnit
- objectClass: extensibleObject
+ objectClass:extensibleObject
ou: system
- </value>
+ ]]></value>
</property>
</bean>
class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
<property name="name" value="example" />
<property name="cacheSize" value="100" />
- <property name="suffix" value="dc=example,dc=com" />
+ <property name="suffix" value="${argeo.ldap.rootdn}" />
<!--
the optimizer is enabled by default but may not always be what
</set>
</property>
<property name="contextEntry">
- <value>
+ <value><![CDATA[
objectClass: top
objectClass: domain
objectClass: extensibleObject
dc: example
- </value>
+ ]]></value>
</property>
</bean>