LDAP Connection issues.
I am trying to get connected with the installation's LDAP location where OI am at now.
I used the code example in the documentataion:
-----------------------------------------------------------------------
<cfif IsDefined("form.name")>
<!--- Check to see that there is a name listed. --->
<cfif form.name is not "">
<!--- Make the LDAP query. --->
<cfldap
server = "servername.nase.ds.army.mil"
action = "query"
name = "results"
start = "dc=armyPostName,dc=Installations,dc=nase, dc=ds,dc=army,dc=mil"
filter = "cn=#name#"
attributes = "cn,o,title,mail,telephonenumber"
sort = "cn ASC">
<!--- Display results. --->
<center>
<table border = 0 cellspacing = 2 cellpadding = 2>
<tr>
<th colspan = 5>
<cfoutput>#results.recordCount# matches found </cfoutput></TH>
</tr>
<tr>
<th><font size = "-2">Name</font></TH>
<th><font size = "-2">Organization</font></TH>
<th><font size = "-2">Title</font></TH>
<th><font size = "-2">E-Mail</font></TH>
<th><font size = "-2">Phone</font></TH>
</tr>
<cfoutput query = "results">
<tr>
<td><font size = "-2">#cn#</font></td>
<td><font size = "-2">#o#</font></td>
<td><font size = "-2">#title#</font></td>
<td><font size = "-2">
<A href = "mailto:#mail#">#mail#</A></font></td>
<td><font size = "-2">#telephonenumber#</font></td>
</tr>
</cfoutput>
</table>
</center>
</cfif>
</cfif>
<form action="#cgi.script_name#" method="POST">
<p>Enter a name to search in the database.</p>
<input type="Text" name="name">
<input type="Submit" value="Search" name="">
</form>
-----------------------------------------------------------------------
The Error that I get is:
-----------------------------------------------------------------------
| The following information is meant for the website developer for debugging purposes. | |||||||||||||||||||||||||
| Error Occurred While Processing Request | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Any suggestions.
Thanks in advance,
Gene
