javax.naming.NameNotFoundException

[LDAP: error code 32 - NO_SUCH_OBJECT: failed for SearchRequest baseDn : '0.9.2342.19200300.100.1.1=ben,2.5.4.11=people,0.9 .2342.19200300.100.1.25=springframework,0.9.2342.1 9200300.100.1.25=org' filter : '(2.5.4.0=*)' scope : base object typesOnly : false Size Limit : no limit Time Limit : no limit Deref Aliases : deref Always attributes : : Attempt to search under non-existant entry: uid=ben,ou=people,dc=springframework,dc=org]; remaining name 'uid=ben,ou=people' at org.springframework.ldap.support.LdapUtils.convert LdapException(LdapUtils.java:174) at org.springframework.ldap.core.LdapTemplate.execute WithContext(LdapTemplate.java:810) at org.springframework.ldap.core.LdapTemplate.execute ReadOnly(LdapTemplate.java:793) at org.springframework.ldap.core.LdapTemplate.lookup( LdapTemplate.java:834) at org.springframework.security.config.ldap.LdapServe rBeanDefinitionParserTests.embeddedServerCreationC ontainsExpectedContextSourceAndData(LdapServerBean DefinitionParserTests.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)

Solutions on the web2427

  • via Spring JIRA by John Rodriguez, 1 year ago
    : false Size Limit : no limit Time Limit : no limit Deref Aliases : deref Always attributes : : Attempt to search under non-existant entry: uid=ben,ou=people,dc=springframework,dc=org]; remaining name 'uid=ben,ou=people' at
  • via Spring JIRA by John Rodriguez, 1 year ago
    : false Size Limit : no limit Time Limit : no limit Deref Aliases : deref Always attributes : : Attempt to search under non-existant entry: uid=ben,ou=people,dc=springframework,dc=org]; remaining name 'uid=ben,ou=people' at
  • [LDAP: error code 32 - NO_SUCH_OBJECT: failed for SearchRequest baseDn : 'dc=example,dc=com' filter : '(|(2.5.4.0=inetorgperson)(2.5.4.0=referral))' scope : whole subtree typesOnly : false Size Limit : no limit Time Limit : no limit Deref
  • Stack trace

    • javax.naming.NameNotFoundException: [LDAP: error code 32 - NO_SUCH_OBJECT: failed for SearchRequest baseDn : '0.9.2342.19200300.100.1.1=ben,2.5.4.11=people,0.9 .2342.19200300.100.1.25=springframework,0.9.2342.1 9200300.100.1.25=org' filter : '(2.5.4.0=*)' scope : base object typesOnly : false Size Limit : no limit Time Limit : no limit Deref Aliases : deref Always attributes : : Attempt to search under non-existant entry: uid=ben,ou=people,dc=springframework,dc=org]; remaining name 'uid=ben,ou=people' at org.springframework.ldap.support.LdapUtils.convert LdapException(LdapUtils.java:174) at org.springframework.ldap.core.LdapTemplate.execute WithContext(LdapTemplate.java:810) at org.springframework.ldap.core.LdapTemplate.execute ReadOnly(LdapTemplate.java:793) at org.springframework.ldap.core.LdapTemplate.lookup( LdapTemplate.java:834) at org.springframework.security.config.ldap.LdapServe rBeanDefinitionParserTests.embeddedServerCreationC ontainsExpectedContextSourceAndData(LdapServerBean DefinitionParserTests.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.