• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

LDAP and CF8

Guest
Apr 08, 2008 Apr 08, 2008

Copy link to clipboard

Copied

Hi everyone,

I have been unsuccessful in getting CFLDAP to query a LDAP from Site Server. I did get it to work in ASP. Could it be that ASP has a better way of connecting to the datasource?

Ravi.
TOPICS
Advanced techniques

Views

324

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 08, 2008 Apr 08, 2008

Copy link to clipboard

Copied

LATEST
Here is the code:

<cfoutput>
<cftry>
Passing Values to the CFLDAP...<br><br>
<cfflush interval="10" />
Trying to connect...
<cfflush interval="10" />

<cfldap action="query"
server="127.0.0.1"
username="cn=Administrator,ou=Members,o=CompuSport"
password="CompuSport"
port="1003"
scope="onelevel"
name="Results"
start="ou=Members,o=CompuSport"
filter="(objectclass=*)"
attributes = "cn" />
<cfcatch type="any">
Compiling Message Errors:
<cfflush interval="10" />
<br><br>
Error Message:#cfcatch.message#
<br><br>
Error Detail:#cfcatch.detail#
<br><br>
Error Type:#cfcatch.type#
<br><br>
Extended Info: #cfcatch.ExtendedInfo#
<cfrethrow />
</cfcatch>
</cftry>
</cfoutput>

quote:

Originally posted by: ravigehlot
Hi everyone,

I have been unsuccessful in getting CFLDAP to query a LDAP from Site Server. I did get it to work in ASP. Could it be that ASP has a better way of connecting to the datasource?

Ravi.


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation