Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP with ColdFusion

Status
Not open for further replies.

jmjdwilson

Programmer
Aug 23, 2001
3
0
0
US
This is my first time using <CFLDAP> tag. Bear with me please. I am trying to connect to our exchange server to retreive employee name and email address. I have the following tag:
<CFLDAP
ACTION=&quot;query&quot;
NAME=&quot;email&quot;
SERVER=&quot;#ldapserver#&quot;
ATTRIBUTES=&quot;*&quot;
START=&quot;cn,mail&quot;
FILTER=&quot;objectClass=*&quot;
TIMEOUT=&quot;1000&quot;
USERNAME=&quot;#username#&quot;
PASSWORD=&quot;#password#&quot;
SORT=&quot;cn ASC&quot;
SCOPE=&quot;SUBTREE&quot;>
I am getting the error, 'Invalid Credentials'. I tried added the domain name to attributes but I still get this error. When I remove the username and password I get the error, 'Protocol Error'. Can anyone please help me with this?
 
According to the documentation dn is required for action types Add, Modify, ModifyDN, Delete, and Update. Did you read something different?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top