directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marcher" <martin.marc...@gmail.com>
Subject Alias Problem "failed on search operation: attributeType w/ OID 1.3.6.1.4.1.1466.115.121.1.12 not registered!"
Date Tue, 08 May 2007 19:03:32 GMT
Hello,

freshly installed apacheds 1.5, I started the server with
./bin/server.init debug and the output stays empty upon searching with
the line below so i can't really provide more info - better don't know
how to provide more info. Using debian stable:

I tried that search with the indexes from the
examplePartitionConfiguration and without them (first not having
indexes then adding them to the server.xml and restarting apacheds,
still no go). Now am I missing something big here or why is this
search not working?

Working on Debian Etch here, java package is the original sun java
package, FS is xfs inside a xen instance, 128MB of RAM 768MB of swap.

$ 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)


$ 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


--snip server.xml--
<?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--

-- 
Martin Marcher
martin.marcher@gmail.com
http://www.mycorners.com
https://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
http://www.studivz.net/profile.php?ids=9f83ea8c5996b8ec
http://www.amazon.de/gp/registry/wishlist/3KDAGCL2NKOIM/ref=reg_hu-wl_goto-registry/302-4432803-5146435?ie=UTF8&sort=date-added

Mime
View raw message