Results 1 to 4 of 4

Thread: Paged Search Control

  1. #1
    Join Date
    May 2010
    Posts
    2

    Default Paged Search Control

    Hi,

    I am trying to do paged search controls for getting more than 10000 records from last two days but i am facing operation not supported exception. below is the stack trace:


    org.springframework.ldap.UncategorizedLdapExceptio n: Operation failed; nested exception is javax.naming.OperationNotSupportedException: [LDAP: error code 12 - The server is not configured to pass through control 1.2.840.113556.1.4.319]; remaining name 'ou=Users, ou=Internal, o=ericsson'
    Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 12 - The server is not configured to pass through control 1.2.840.113556.1.4.319]; remaining name 'ou=Users, ou=Internal, o=ericsson'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3065)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2951)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2758)
    at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1 812)
    at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:17 35)
    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 com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:321)
    at javax.naming.directory.InitialDirContext.search(In itialDirContext.java:248)
    at org.springframework.ldap.LdapTemplate$4.executeSea rch(LdapTemplate.java:227)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:268)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:231)
    at se.ericsson.ims.pdu.zone.backend.peoplefinder.util .peopleFinderLDAPUtility.testPagedResult(peopleFin derLDAPUtility.java:98)
    at se.ericsson.ims.pdu.zone.backend.peoplefinder.Peop leFinder.main(PeopleFinder.java:97)

    Please help on this issue.
    Thanks in advance

  2. #2
    Join Date
    Jul 2005
    Location
    Helsingborg, Sweden
    Posts
    504

    Default

    Which directory server do you use?
    Ulrik Sandberg
    Jayway (www.jayway.com)
    Spring LDAP project member

  3. #3
    Join Date
    May 2010
    Posts
    2

    Default

    Using ECD Server which is ericsson ldap.

  4. #4
    Join Date
    Jul 2005
    Location
    Helsingborg, Sweden
    Posts
    504

    Default

    Searching for the error message you got, the best match seems to be a Directory Proxy Server (DPS) that prohibits controls unless explicitly allowed using the DPS property 'allowed-ldap-controls'.

    http://forums.sun.com/thread.jspa?threadID=5201270

    Maybe you have a proxy server somewhere in your network. Or could your directory server be a descendant of DPS?
    Ulrik Sandberg
    Jayway (www.jayway.com)
    Spring LDAP project member

Posting Permissions

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