<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Re: [cisco-voip] IP Phone SDK: LDAPSearch Active Directory Root</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Chris and Ryan,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thank you so much!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Erik<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Chris Ward
[mailto:chrward@cisco.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, December 11, 2008
3:06 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Ryan Ratliff; <st1:PersonName
w:st="on">Erik Potteiger</st1:PersonName><br>
<b><span style='font-weight:bold'>Cc:</span></b> cisco-voip@puck.nether.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [cisco-voip] IP Phone
SDK: LDAPSearch Active Directory Root</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'>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>
<st1:place w:st="on"><st1:City w:st="on">Boxborough</st1:City>, <st1:State
w:st="on">MA</st1:State></st1:place> <br>
9:00am - 6:00pm Eastern <br>
978-936-0217<br>
<a href="chrward@cisco.com">chrward@cisco.com</a><br>
<br>
<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>
<hr size=3 width="95%" align=center>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;font-weight:bold'>From: </span></font></b><font
size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>Ryan
Ratliff <<a href="rratliff@cisco.com">rratliff@cisco.com</a>><br>
<b><span style='font-weight:bold'>Date: </span></b>Thu, 11 Dec 2008 15:04:00
-0500<br>
<b><span style='font-weight:bold'>To: </span></b><st1:PersonName w:st="on">Erik
Potteiger</st1:PersonName> <<a href="epotteiger@findlaycityschools.org">epotteiger@findlaycityschools.org</a>><br>
<b><span style='font-weight:bold'>Cc: </span></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><span style='font-weight:bold'>Subject: </span></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 face=Helvetica><span style='font-size:14.0pt;
font-family:Helvetica'>-Ryan<br>
</span></font><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'> <br>
<br>
On Dec 11, 2008, at 2:14 PM, <st1:PersonName w:st="on">Erik Potteiger</st1:PersonName>
wrote:<br>
<br>
<br>
</span></font>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>
<font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'><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>
<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>
<hr size=3 width="95%" align=center>
</span></font></div>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>_______________________________________________<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></span></font><o:p></o:p></p>
</div>
</body>
</html>