Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-923

result: 33 Alias problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0, 1.5.1
    • 1.5.2
    • None
    • None
    • amd64
      xen with 128 MB RAM, 768 Swap
      Debian Etch
      apacheds-1.5.0 prebuilt

    Description

      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

      1. extended LDIF
        #
      2. LDAPv3
      3. base <ou=system> with scope oneLevel
      4. filter: (uid=admin)
      5. requesting: dn
        #
      1. 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!
      1. 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-

      Attachments

        Activity

          People

            akarasulu Alex Karasulu
            martin.marcher@gmail.com Martin Marcher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: