<HTML>
<HEAD>
<TITLE>Re: [cisco-voip] IP Phone SDK: LDAPSearch Active Directory Root</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
Chris Ward <BR>
Cisco Systems Inc. <BR>
Customer Support Engineer<BR>
Unified Communication Infrastructure<BR>
Boxborough, MA <BR>
9:00am - 6:00pm Eastern <BR>
978-936-0217<BR>
<a href="chrward@cisco.com">chrward@cisco.com</a><BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Ryan Ratliff <<a href="rratliff@cisco.com">rratliff@cisco.com</a>><BR>
<B>Date: </B>Thu, 11 Dec 2008 15:04:00 -0500<BR>
<B>To: </B>Erik Potteiger <<a href="epotteiger@findlaycityschools.org">epotteiger@findlaycityschools.org</a>><BR>
<B>Cc: </B>"<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>" <<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>><BR>
<B>Subject: </B>Re: [cisco-voip] IP Phone SDK: LDAPSearch Active Directory Root<BR>
<BR>
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.<BR>
<BR>
This is all based on experience working with CCM ldap integration. The sdk ldap stuff may behave differently.<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14pt'>-Ryan<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
On Dec 11, 2008, at 2:14 PM, Erik Potteiger wrote:<BR>
<BR>
<BR>
</SPAN></FONT><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'>IP Phone SDK<BR>
<BR>
LDAPSearch Active Directory Root<BR>
<BR>
I am trying to use the localizeddirectory.asp service with my cisco IP Phones. <BR>
<BR>
It does work but I cannot figure out how to specify my LDAP Search base as the whole Active Directory. <BR>
<BR>
I have a Windows 2003 Active Directory Domain. The root of the domain is "DC=schools,DC=org" <BR>
<BR>
I have an OU called administration. <BR>
<BR>
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. <BR>
<BR>
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. <BR>
<BR>
Can you use the root of a windows 2003 Active Directory domain as the search base for the LDAPSearch.dll version 3? <BR>
<BR>
Thanks<BR>
<BR>
Erik<BR>
</SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <BR>
_______________________________________________<BR>
cisco-voip mailing list<BR>
<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><BR>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a><BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
cisco-voip mailing list<BR>
<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><BR>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>