On 6/11/10 7:39 AM, Sudheer Kumar wrote:
Hi,
As per your suggestions we are migrating our server.xml from 1.5.4 to 1.5.7,
however I am bit confused with it. If you could help me to convert it or
give me a guide to use 1.5.7 server.xml it would be a great help.
Can you wait a couple more weeks ? We are currently working on fixing
bugs for a 2.0-RC1 release, which will probably be way better than 1.5.7.
Otherwise, I converted the server.xml to 1.5.7, but I'm noy 100% sure
it's correct (mainly the SASL mechanism are to be checked :
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<spring:beans xmlns:spring="http://xbean.apache.org/schemas/spring/1.0"
xmlns:s="http://www.springframework.org/schema/beans"
xmlns="http://apacheds.org/config/1.0">
<defaultDirectoryService id="directoryService" instanceId="default"
workingDirectory="rdsinst"
allowAnonymousAccess="false"
accessControlEnabled="true"
denormalizeOpAttrsEnabled="false">
<systemPartition>
<!-- use the following partitionConfiguration to override defaults for -->
<!-- the system partition -->
<jdbmPartition id="system" cacheSize="100" suffix="ou=system"
optimizerEnabled="true" syncOnWrite="true">
<indexedAttributes>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.1" cacheSize="100"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.2" cacheSize="100"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.3" cacheSize="100"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.4" cacheSize="100"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.5" cacheSize="10"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.6" cacheSize="10"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.7" cacheSize="10"/>
<jdbmIndex attributeId="ou" cacheSize="100"/>
<jdbmIndex attributeId="uid" cacheSize="100"/>
<jdbmIndex attributeId="objectClass" cacheSize="100"/>
</indexedAttributes>
</jdbmPartition>
</systemPartition>
<partitions>
<!-- NOTE: when specifying new partitions you need not include those -->
<!-- attributes below with OID's which are the system indices, if left -->
<!-- out they will be automatically configured for you with defaults. -->
<jdbmPartition id="RDS" cacheSize="100" suffix="dc=telelogic,dc=com"
optimizerEnabled="true"
syncOnWrite="true">
<indexedAttributes>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.1" cacheSize="100"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.2" cacheSize="100"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.3" cacheSize="100"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.4" cacheSize="100"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.5" cacheSize="10"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.6" cacheSize="10"/>
<jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.7" cacheSize="10"/>
<jdbmIndex attributeId="dc" cacheSize="100"/>
<jdbmIndex attributeId="ou" cacheSize="100"/>
<jdbmIndex attributeId="objectClass" cacheSize="100"/>
<jdbmIndex attributeId="uniquemember" cacheSize="100"/>
<jdbmIndex attributeId="cn" cacheSize="100"/>
<jdbmIndex attributeId="sn" cacheSize="100"/>
<jdbmIndex attributeId="member" cacheSize="100"/>
<jdbmIndex attributeId="uid" cacheSize="100"/>
<jdbmIndex attributeId="tdsFullyQualifiedObjectId" cacheSize="100"/>
<jdbmIndex attributeId="tdsDoorsUserId" cacheSize="100"/>
<jdbmIndex attributeId="tdsDoorsGroupId" cacheSize="100"/>
<jdbmIndex attributeId="tdsRoleId" cacheSize="100"/>
<jdbmIndex attributeId="tdsCorporateDN" cacheSize="100"/>
<jdbmIndex attributeId="tdsdoorsdatabaseid" cacheSize="100"/>
<jdbmIndex attributeId="rdsEndId" cacheSize="100"/>
<jdbmIndex attributeId="tdsExternalObjectContext" cacheSize="100"/>
<jdbmIndex attributeId="tdsExternalObjectURN" cacheSize="100"/>
<jdbmIndex attributeId="rdsRelationshipTypeId" cacheSize="100"/>
<jdbmIndex attributeId="tdsApplicationRepositoryId" cacheSize="100"/>
<jdbmIndex attributeId="tdsExternalObjectURN" cacheSize="100"/>
<jdbmIndex attributeId="rdsEndIdA" cacheSize="100"/>
<jdbmIndex attributeId="rdsEndIdB" cacheSize="100"/>
<jdbmIndex attributeId="rdsExtObjectARepId" cacheSize="100"/>
<jdbmIndex attributeId="rdsExtObjectBRepId" cacheSize="100"/>
<jdbmIndex attributeId="rdsExtObjectAURN" cacheSize="100"/>
<jdbmIndex attributeId="rdsExtObjectBURN" cacheSize="100"/>
<jdbmIndex attributeId="rdsExtObjectAContext" cacheSize="100"/>
<jdbmIndex attributeId="rdsExtObjectBContext" cacheSize="100"/>
<jdbmIndex attributeId="rdsEndARuleValues" cacheSize="100"/>
<jdbmIndex attributeId="rdsEndBRuleValues" cacheSize="100"/>
</indexedAttributes>
</jdbmPartition>
</partitions>
<interceptors>
<normalizationInterceptor/>
<s:bean id="Apache Authentication"
class="com.telelogic.tds.engine.ldap.jndi.apacheplugins.authentication.RDSAuthenticationInterceptor"
/>
<aciAuthorizationInterceptor/>
<defaultAuthorizationInterceptor/>
<exceptionInterceptor/>
<operationalAttributeInterceptor/>
<s:bean id="Apache RDS Password Policy"
class="com.telelogic.tds.engine.ldap.jndi.apacheplugins.passwordpolicy.RDSPasswordPolicyInterceptor"
/>
<!-- Uncomment to enable the password policy interceptor
<passwordPolicyInterceptor/>
<keyDerivationInterceptor/>
-->
<schemaInterceptor/>
<subentryInterceptor/>
<collectiveAttributeInterceptor/>
<eventInterceptor/>
<triggerInterceptor/>
<!-- Uncomment to enable replication interceptor
<replicationInterceptor>
<configuration>
<replicationConfiguration serverPort="10390"
peerReplicas="instanc...@localhost:10392">
<replicaId>
<replicaId id="instance_a"/>
</replicaId>
</replicationConfiguration>
</configuration>
</replicationInterceptor>
-->
</interceptors>
</defaultDirectoryService>
<ntpServer>
<transports>
<tcpTransport port="60123"/>
<udpTransport port="60123" nbThreads="1"/>
</transports>
</ntpServer>
<ldapServer id="ldapServer"
allowAnonymousAccess="false"
saslHost="ou=people,dc=telelogic,dc=com"
saslPrincipal="ldap/ldap.example....@example.com"
searchBaseDn="ou=users,ou=system"
maxTimeLimit="15000"
maxSizeLimit="1000">
<transports>
<tcpTransport address="0.0.0.0" port="10389" nbThreads="8" backLog="50"
enableSSL="false"/>
<tcpTransport address="localhost" port="1636" enableSSL="true"/>
</transports>
<directoryService>#directoryService</directoryService>
<!-- The list of supported authentication mechanisms. -->
<saslMechanismHandlers>
<simpleMechanismHandler mech-name="SIMPLE"/>
<cramMd5MechanismHandler mech-name="CRAM-MD5" />
<digestMd5MechanismHandler mech-name="DIGEST-MD5" />
<gssapiMechanismHandler mech-name="GSSAPI" />
<RDSSASLMechanismHandler mech-name="RDS-SASL"
ntlmProviderFqcn="com.telelogic.tds.engine.ldap.jndi.apacheplugins.sasl.server.RDSSASLMechanismHandler"/>
<ntlmMechanismHandler mech-name="GSS-SPNEGO"
ntlmProviderFqcn="org.apache.directory.server.ldap.handlers.bind.ntlm.NtlmMechanismHandler"/>
</saslMechanismHandlers>
<!-- The realms serviced by this SASL host, used by DIGEST-MD5 and
GSSAPI. -->
<saslRealms>
<s:value>example.com</s:value>
<s:value>apache.org</s:value>
</saslRealms>
<!-- the collection of extended operation handlers to install -->
<extendedOperationHandlers>
<startTlsHandler/>
<gracefulShutdownHandler/>
<launchDiagnosticUiHandler/>
<s:bean id="customExtendedHandler"
class="com.telelogic.tds.engine.ldap.jndi.apacheplugins.sso.CreateSSOCustomExtendedHandler"/>
<s:bean id="customExtendedHandler"
class="com.telelogic.tds.engine.ldap.jndi.apacheplugins.sso.ValidateSSOCustomExtendedHandler"/>
<!-- The Stored Procedure Extended Operation is not stable yet and it
may cause security risks.-->
<!--storedProcedureExtendedOperationHandler/-->
</extendedOperationHandlers>
</ldapServer>
</ldapServer>
<apacheDS id="apacheDS">
<ldapServer>#ldapServer</ldapServer>
</apacheDS>
</spring:beans>
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com