12-09-2008 08:12 AM - edited 03-13-2019 05:55 PM
I am trying to use the localizeddirectory.asp service with my cisco IP Phones.
It does work but I cannot figure out how to specify my LDAP Search base as the whole Active Directory.
I have a Windows 2003 Active Directory Domain. The root of the domain is "DC=schools,DC=org"
I have an OU call administration.
If I set the code to point to "OU=Administration,DC=schools,DC=org" I can search all users in the Administration OU and return phone numbers. It works.
I try setting the LDAP search base to a more general path "DC=schools,DC=org" so I can search all of my organization but it returns a 500 internal server error.
Can you use the root of a windows 2003 Active Directory domain as the search base for the LDAPSearch.dll version 3?
Thanks
12-09-2008 09:47 AM
Hi
I've just logged on to post this exact query - I've tried the same things as you with the same results.
It seems the v3 DLL won't bind to the root of a domain.
Has anyone else got this problem and/or a solution?
Aaron
12-15-2008 09:44 AM
Chris and Ryan,
I changed the port to 3268 and then changed the ldap search base to the root and it works!!!! Awesome, I can see the whole directory!
Thank you so much!
Erik
Subject: Re: [cisco-voip] IP Phone SDK: LDAPSearch Active Directory Root
As a test to see if referrals are the problem, you can point the search to your AD Global Catalog server and use port 3268. The GC eliminates the need for referrals.
Chris
03-06-2009 02:38 PM
Erik,
Can I see the script ?
Karl.
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