directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marcher (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-923) result: 33 Alias problem
Date Wed, 09 May 2007 11:22:15 GMT
result: 33 Alias problem
------------------------

                 Key: DIRSERVER-923
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-923
             Project: Directory ApacheDS
          Issue Type: Bug
         Environment: amd64
xen with 128 MB RAM, 768 Swap
Debian Etch
apacheds-1.5.0 prebuilt
            Reporter: Martin Marcher


Hello,

didn't touch the system partition (fresh install, sevenSeas Sample Data and a partition for
myself have been added, see config file below).

Upon searching for dn i get the error displayed below, added java version infor ldap-utils
version info for reference.

$ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w secret
-b "ou=system" -s one -x "(uid=admin)" dn
# extended LDIF
#
# LDAPv3
# base <ou=system> with scope oneLevel
# filter: (uid=admin)
# requesting: dn
#

# search result
search: 2
result: 33 Alias problem
text: failed on search operation: attributeType w/ OID 1.3.6.1.4.1.1466.115.1
 21.1.12 not registered!

# numResponses: 1



$ java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_01-b06, mixed mode)

$ ldapsearch -VV
ldapsearch: @(#) $OpenLDAP: ldapsearch 2.3.30 (Mar  9 2007 06:09:26) $
       buildd@excelsior:/build/buildd/openldap2.3-2.3.30/debian/build/clients/tools
       (LDAP library: OpenLDAP 20330)





<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
 "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>
     </props>
   </property>
 </bean>
 <bean id="configuration"
class="org.apache.directory.server.configuration.MutableServerStartupConfiguration">
   <property name="workingDirectory" value="example.com" />
     <value>example.ldif</value>
   </property>
   <property name="ldifFilters">
     <list>
       <bean class="org.apache.directory.server.protocol.shared.store.Krb5KdcEntryFilter"/>
     </list>
   </property>-->
   <property name="synchPeriodMillis" value="15000" />
   <property name="maxTimeLimit" value="15000" />
   <property name="maxSizeLimit" value="1000" />
   <property name="maxThreads" value="8" />
   <property name="allowAnonymousAccess" value="false" />
   <property name="accessControlEnabled" value="false" />
   <property name="enableNtp" value="false" />
   <property name="enableKerberos" value="false" />
   <property name="enableChangePassword" value="false" />
   <property name="denormalizeOpAttrsEnabled" value="true" />
   <property name="ldapPort" value="10389" />
   <property name="systemPartitionConfiguration"
ref="systemPartitionConfiguration" />
   <property name="partitionConfigurations">
     <set>
       <ref bean="examplePartitionConfiguration"/>
       <ref bean="openForcePartitionConfiguration"/>
       <ref bean="sevenSeasPartitionConfiguration"/>
     </set>
   </property>

   <property name="extendedOperationHandlers">
     <list>
       <bean class="org.apache.directory.server.ldap.support.extended.GracefulShutdownHandler"/>
       <bean class="org.apache.directory.server.ldap.support.extended.LaunchDiagnosticUiHandler"/>
     </list>
   </property>
   <property name="interceptorConfigurations">
     <list>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="normalizationService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.normalization.NormalizationService"
/>
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="authenticationService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.authn.AuthenticationService"
/>
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="referralService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.referral.ReferralService" />
         </property>
   <property name="ldapPort" value="10389" />
   <property name="systemPartitionConfiguration"
ref="systemPartitionConfiguration" />
   <property name="partitionConfigurations">
     <set>
       <ref bean="examplePartitionConfiguration"/>
       <ref bean="openForcePartitionConfiguration"/>
       <ref bean="sevenSeasPartitionConfiguration"/>
     </set>
   </property>

   <property name="extendedOperationHandlers">
     <list>
       <bean class="org.apache.directory.server.ldap.support.extended.GracefulShutdownHandler"/>
       <bean class="org.apache.directory.server.ldap.support.extended.LaunchDiagnosticUiHandler"/>
     </list>
   </property>
   <property name="interceptorConfigurations">
     <list>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="normalizationService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.normalization.NormalizationService"
/>
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="authenticationService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.authn.AuthenticationService"
/>
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="referralService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.referral.ReferralService" />
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="authorizationService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.authz.AuthorizationService" />
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="defaultAuthorizationService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.authz.DefaultAuthorizationService"
/>
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="exceptionService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.exception.ExceptionService" />
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="operationalAttributeService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.operational.OperationalAttributeService"
/>
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="schemaService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.schema.SchemaService" />
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="subentryService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.subtree.SubentryService" />
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="collectiveAttributeService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.collective.CollectiveAttributeService"
/>
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="eventService" />
         <property name="interceptor">
           <bean class="org.apache.directory.server.core.event.EventService" />
         </property>
       </bean>
       <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
         <property name="name" value="triggerService" />
         <property name="interceptor">
           <bean
class="org.apache.directory.server.core.trigger.TriggerService" />
         </property>
       </bean>
     </list>
   </property>
 </bean>
 <bean id="systemPartitionConfiguration"
class="org.apache.directory.server.core.partition.impl.btree.Mu
tableBTreePartitionConfiguration">
   <property name="name" value="system" />
   <property name="cacheSize" value="100" />
   <property name="suffix" value="ou=system" />
   <property name="optimizerEnabled" value="true" />
   <property name="synchOnWrite" value="true" />
   <property name="indexedAttributes">
     <set>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.1" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.2" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.3" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.4" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.5" />
         <property name="cacheSize" value="10" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.6" />
         <property name="cacheSize" value="10" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.7" />
         <property name="cacheSize" value="10" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="ou" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="uid" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="objectClass" />
         <property name="cacheSize" value="100" />
       </bean>
     </set>
   </property>
   <property name="contextEntry">
     <value>
       objectClass: top
       objectClass: organizationalUnit
       objectClass: extensibleObject
       ou: system
     </value>
   </property>
 </bean>
 <bean id="sevenSeasPartitionConfiguration"
class="org.apache.directory.server.core.partition.impl.btree
.MutableBTreePartitionConfiguration">
   <property name="name" value="sevenseas" />
   <property name="cacheSize" value="100" />
   <property name="suffix" value="o=sevenSeas" />
   <property name="optimizerEnabled" value="true" />
   <property name="synchOnWrite" value="true" />
   <property name="contextEntry">
     <value>
       objectClass: top
       objectClass: domain
       objectClass: extensibleObject
       o: sevenSeas
     </value>
   </property>
 </bean>
 <bean id="openForcePartitionConfiguration"
class="org.apache.directory.server.core.partition.impl.btree
.MutableBTreePartitionConfiguration">
   <property name="name" value="openforce" />
   <property name="cacheSize" value="100" />
   <property name="suffix" value="dc=openforce,dc=com" />
   <property name="optimizerEnabled" value="true" />
   <property name="synchOnWrite" value="true" />
   <property name="contextEntry">
     <value>
       objectClass: top
       objectClass: domain
       objectClass: extensibleObject
       dc: openforce
     </value>
   </property>
 </bean>
 <bean id="examplePartitionConfiguration"
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="optimizerEnabled" value="true" />
   <property name="synchOnWrite" value="true" />
   <property name="indexedAttributes">
     <set>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.1" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.2" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.3" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.4" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.5" />
         <property name="cacheSize" value="10" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.6" />
         <property name="cacheSize" value="10" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="1.3.6.1.4.1.18060.0.4.1.2.7" />
         <property name="cacheSize" value="10" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="dc" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="ou" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="krb5PrincipalName" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="uid" />
         <property name="cacheSize" value="100" />
       </bean>
       <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
         <property name="attributeId" value="objectClass" />
         <property name="cacheSize" value="100" />
       </bean>
     </set>
   </property>
   <property name="contextEntry">
     <value>
       objectClass: top
       objectClass: domain
       objectClass: extensibleObject
       dc: example
     </value>
   </property>
 </bean>
 <bean class="org.springframework.beans.factory.config.CustomEditorConfigurer">
   <property name="customEditors">
     <map>
       <entry key="javax.naming.directory.Attributes">
         <bean
class="org.apache.directory.server.core.configuration.AttributesPropertyEditor"/>
       </entry>
     </map>
  </property>
 </bean>
</beans>
--snap server.xml--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message