[cisco-voip] IP Phone SDK: LDAPSearch Active Directory Root

Ryan Ratliff rratliff at cisco.com
Thu Dec 11 15:04:00 EST 2008


Can you get a packet capture of the failing search?  Searching the  
root of a Win2k3 AD will cause you to get 3 referrals that must be  
followed to complete the search.  The referrals will be for  
domaindnszones.domain.com, forestdnszones.domain.com, and the  
configuration container of domain.com.  If any of those DNS searches  
fail, or return invalid hosts, then this can cause problems.

This is all based on experience working with CCM ldap integration.   
The sdk ldap stuff may behave differently.

-Ryan

On Dec 11, 2008, at 2:14 PM, Erik Potteiger wrote:

IP Phone SDK



LDAPSearch Active Directory Root



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 called 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



Erik

_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20081211/44d33712/attachment.html>


More information about the cisco-voip mailing list