jmjdwilson
Programmer
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="query"
NAME="email"
SERVER="#ldapserver#"
ATTRIBUTES="*"
START="cn,mail"
FILTER="objectClass=*"
TIMEOUT="1000"
USERNAME="#username#"
PASSWORD="#password#"
SORT="cn ASC"
SCOPE="SUBTREE">
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?
<CFLDAP
ACTION="query"
NAME="email"
SERVER="#ldapserver#"
ATTRIBUTES="*"
START="cn,mail"
FILTER="objectClass=*"
TIMEOUT="1000"
USERNAME="#username#"
PASSWORD="#password#"
SORT="cn ASC"
SCOPE="SUBTREE">
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?