02-23-2012 11:06 PM - edited 03-19-2019 04:27 AM
Hi,
I have some difficulties using LDAP COM object that comes with the IP phone Services SDK. I would like to search the whole AD, which has multiple OUs. I want to set multiple OUs in my search base.
Is there any way to achieve searching the whole directory structure???
Thanks and Regards
Prasanna S K.
02-24-2012 12:32 AM
Hi
I don't think so - I gave up on that COM object and just did a simple LDAP query. It doesn't do multiple base OUs, but you could adapt it to do so I guess.
Presumably you'd have to run a query for each OU against AD, then sort the results together before returning them.
https://supportforums.cisco.com/message/3026015#3026015
Aaron
02-24-2012 08:45 AM
Hi
Query the OU individually, gather all the records, store in an array/buffer, re-organize the present sequence/structure.
And display it
Sam
Sent from Cisco Technical Support iPhone App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide