LDAPSearch Active Directory Root

Unanswered Question
Dec 9th, 2008
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Aaron Harrison Tue, 12/09/2008 - 09:47
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

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

erikpotteiger Mon, 12/15/2008 - 09:44
User Badges:

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

Actions

This Discussion