<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 &lt;<a href="rratliff@cisco.com">rratliff@cisco.com</a>&gt;<BR>
<B>Date: </B>Thu, 11 Dec 2008 15:04:00 -0500<BR>
<B>To: </B>Erik Potteiger &lt;<a href="epotteiger@findlaycityschools.org">epotteiger@findlaycityschools.org</a>&gt;<BR>
<B>Cc: </B>&quot;<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>&quot; &lt;<a href="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>&gt;<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>
&nbsp;<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'> &nbsp;<BR>
<BR>
On Dec 11, 2008, at 2:14 PM, Erik Potteiger wrote:<BR>
<BR>
&nbsp;<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>
&nbsp;<BR>
&nbsp;It does work but I cannot figure out how to specify my LDAP Search base as the whole Active Directory. <BR>
&nbsp;<BR>
&nbsp;I have a Windows 2003 Active Directory Domain. The root of the domain is &quot;DC=schools,DC=org&quot; <BR>
&nbsp;<BR>
&nbsp;I have an OU called administration. <BR>
&nbsp;<BR>
&nbsp;If I set the code to point to &quot;OU=Administration,DC=schools,DC=org&quot; I can search all users in the Administration OU and return phone numbers. It works. <BR>
&nbsp;<BR>
&nbsp;I try setting the LDAP search base to a more general path &quot;DC=schools,DC=org&quot; so I can search all of my organization but it returns a 500 internal server error. <BR>
&nbsp;<BR>
&nbsp;Can you use the root of a windows 2003 Active Directory domain as the search base for the LDAPSearch.dll version 3? <BR>
&nbsp;<BR>
&nbsp;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>
&nbsp;<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>