Home > Default > Paged LDAP Search Results Question

Paged LDAP Search Results Question

November 30Hits:0
Advertisement
Greetings,
I have some code that does a dbms_ldap.search_s to create a view of all users. Everything was working fine until last week when got an error and I realized the results return exceeded the LDAPS MaxPageSizeLimit (was set to 2000, we now have 2000+ users). I was able to get the sys admins to increase the size temporarily until I can modify my code to page the search results. I've been doing some research on Page LDAP Search Results and am not finding much for dbms_ldap. Perhaps my research skills are not up to snuff. In any case, I found on oracle docs (http://docs.oracle.com/cd/E17904_01/oid.1111/e10186/ext_ldap.htm#CEGJJIAF) where it references:
"As of Oracle Internet Directory 10g (10.1.4.0.1), you can obtain paged results from an LDAP search, as described by IETF RFC 2696. You request sorted results by passing a control of type 1.2.840.113556.1.4.319 to the search function. Details are described in RFC 2696."
However, I'm not finding much on how to implement this using dbms_ldap.
Can anyone point me somewhere that I can found how to implement returning pagedResults using ldap with Oracle 11g?
Best,
Nat
Edited by: 899806 on Jan 10, 2012 10:23 AM

Answers

Yes, I did read that but I don't see in that file where it references anything about dbms. I see the section on:
RFC 2696 LDAP Control Ext. for Simple Paged Results September 1999
pagedResultsControl ::= SEQUENCE {
controlType 1.2.840.113556.1.4.319,
criticality BOOLEAN DEFAULT FALSE,
controlValue searchControlValue
However, when I look at oracle docs, I don't see where in dbms_ldap you can specify this config. any pointers?

Read other 4 answers

Tags:

Related Articles

  • Paged LDAP Search Results QuestionNovember 30

    Greetings, I have some code that does a dbms_ldap.search_s to create a view of all users. Everything was working fine until last week when got an error and I realized the results return exceeded the LDAPS MaxPageSizeLimit (was set to 2000, we now hav

  • Paging custom search resultsNovember 30

    I am using ISearchResultSet and want to page through them. I thought about running the query, holding up to 100 in an array, then showing the block of 20 requested on the screen. Probably not effecient but...Hello all, I can finally see the bug. The

  • Portal Custom Search Results QuestionNovember 30

    Hey, We are using a custom search portlet to search through a page group containing content relevant to a group of end users. The results generated from the search a fine apart from that they also return items from the page group such as navigation p

  • LDAP Search/Bind functionNovember 30

    I'm trying to create an authentication function that can perform a search/bind. The algorithm for this is as follows: 1) Bind to the LDAP server as the application (ie: admin username and password) 2) Search the LDAP directory for the sign-in usernam

  • Search Results Web Part, Managed Navigation and PagingOctober 11

    I am using managed navigation and have a search results web part that uses the Term.IdWithChildren as the query to filter the results by the selected navigation term. This works nicely until you need to us the paging. As soon as you go to the next pa

  • LDAP Log not showing external search resultsNovember 30

    Hi, I'm conducting LDAP searches with a filter into the LDAP directory of OD Master. Results are as expected and authentication is correct for an LDAP user. I can see the authentication in PasswordServer. My question is, why doesn't the LDAP search s

  • Slow to retrieve result from ldap searchNovember 30

    I have 36000 records in an ldap directory on an NT machine. When I perform a search, it returns within 3 secs - but then I uses the following code to manipulate the results - resulting in an overall time of over 80 secs which is no good. while (answe

  • Glassfish LDAP group search results in ExceptionNovember 30

    I'm trying to get my group search running but I keep getting the same exception java.lang.NullPointerException      at com.sun.enterprise.security.auth.realm.ldap.LDAPRealm.groupSearch(LDAPRealm.java:705)      at com.sun.enterprise.security.auth.real

  • Questions on saving document, search result and locationNovember 30

    SAVE DOCUMENT Is it possible to save the document directly on the IFS's repository? Shall I save the document as local copy and then to upload the document on the IFS repository? SEARCH RESULT If I do "Find" + "on documents", I haven't

  • Question about Google search resultsNovember 30

    All- I have a site created using iWeb, hosted at MobileMe, with a domain name from GoDaddy. Everything works fine, but searching for my name in Google returns my MobileMe address (web.mac.com/theburians/) instead of my domain name (theburians.com). A

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 15 q. 7.795 s.