Results 1 to 2 of 2

Thread: Limitation of OR Filter

  1. #1
    Join Date
    Dec 2007
    Posts
    2

    Default Limitation of OR Filter

    Hi,

    We are using Spring LDAP to implement a common LDAP query component. I hav e tried to implement a search using the OR filter. This works fine when there are only 100 values in my OR filter but when there are around 300 the query fails with no explicit error.

    I checked the documentation and there is no mention of any restrictions. The filter encodes correctly but throws an exception when used to query my ldap server.

    Does anyone know what the restrictions are?

    Thanks

    Jo

  2. #2
    Join Date
    Dec 2007
    Posts
    2

    Default Further info: this is the error essage I get

    This is the error message I get. The code works fine when there are less parameters

    org.springframework.ldap.UncategorizedLdapExceptio n: Operation failed; nested exception is javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name '/'
    Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name '/'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3058)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2931)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2737)
    at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1 808)
    at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:17 31)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_sea rch(ComponentDirContext.java:368)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:338)
    at javax.naming.directory.InitialDirContext.search(In itialDirContext.java:257)
    at org.springframework.ldap.LdapTemplate$3.executeSea rch(LdapTemplate.java:206)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:268)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:210)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:579)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:487)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:411)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:434)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:454)
    at com.ta.security.dao.ldap.impl.AccountDAOImpl.findA ccountDetailsList(AccountDAOImpl.java:210)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •