Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6174353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:44:23+00:00 2026-05-23T23:44:23+00:00

Which should be used in which scenarios? Does ldap_search_init_page() also support to search with

  • 0

Which should be used in which scenarios?

Does ldap_search_init_page() also support to search with DirSync?

FYI:

http://msdn.microsoft.com/en-us/library/aa366972(v=vs.85).aspx

http://msdn.microsoft.com/en-us/library/aa366973(v=vs.85).aspx

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:44:24+00:00Added an answer on May 23, 2026 at 11:44 pm

    When you make a search on a Directory, it’s not like in a database. The Directory is not supposed to give you back all the responses for your search (most of the time you not need them like in a google search). Directory servers assume good performances this way.

    ldap_search_ext_s initiate a search, it’s synschronous, and you can specify options like LDAP_OPT_SIZELIMIT and LDAP_OPT_TIMELIMIT (if they are available on the server). This API returns search result (if exists), and maybe more search result than a normal search.

    With ldap_search_init_page() you initiate a kind of ‘find fist’, ‘find next’ search. This API does not return search result, but a structure tou can use in ldap_get_next_page, ldap_get_next_page_s, ldap_get_paged_count and ldap_search_abandon_page. ldap_get_next_page and ldap_get_next_page_s can return search result and the second one synchronously. This way allow you to retreive ALL the results for a search, be carefull it’s not the way a normal LDAP search is supposed to work, this is bad on the performance point of view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

which one should be used to manipulating data, Array or Array Object? Like search,sort
Do you find Zend_Registry useful? For which tasks it should be used? For which
Using C# (or VB.NET) which loop (for loop or do/while loop) should be used
My question is, which version-naming scheme should be used for what type of project.
I have a page which should show a form with checkboxes, post back if
I'm using DbLinq which should be the equivalent of Linq2SQL for this question. I'm
I have this code which should create a splash image with either no animation
Running a query which should return all open questions along with the last update
We have bunch of Domain Entities which should be rendered to an html format,
I have the following code which should put programs startable in Bash. if [

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.