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

CFLDAP error

Participant ,
Jun 12, 2006 Jun 12, 2006

Copy link to clipboard

Copied

I have the following code:
<cfldap action="QUERY"
server="Doman Controller Server Name"
port="389"
username="username"
password="password"
name="results"
start="ou=branches"
attributes="cn,department,telephoneNumber">

This is going to be on an intranet page, so my server name can literally be the name of the server, andI am assuming the username and password would be that of which I would user to log in on the Intranet Server? However I am getting the innapropiate authentication error running the above code.....? Can anyone help please, am I using the correct login details or is there anything else I should be considering?

I appreciate any help, thank you in advance
TOPICS
Advanced techniques

Views

547

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
Participant ,
Jun 12, 2006 Jun 12, 2006

Copy link to clipboard

Copied

what is the actual error? i seem to remember that the query action of cfldap requires an SA username/password

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
Participant ,
Jun 13, 2006 Jun 13, 2006

Copy link to clipboard

Copied

Thanks for the reply

the error is "innapropiate authentication", but if I take the username/password out it comes up with a Bind error, saying that it needs to bind.

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
Participant ,
Jun 13, 2006 Jun 13, 2006

Copy link to clipboard

Copied

ok, I tried using sa/password but it has come back with this error: Connection to LDAP Server failed

any other thoughts please?

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
Participant ,
Jun 13, 2006 Jun 13, 2006

Copy link to clipboard

Copied

dont you need to use an " o= " ?

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
New Here ,
Jun 16, 2006 Jun 16, 2006

Copy link to clipboard

Copied

Here's what I use ... I remember it took me a while before I got my syntax right ...

<cfldap
server = "10.1.1.11" port = "389"
username = "Domain\Intranet" password = "******"
action = "query"
name = "getNames"
timeout = "180" maxRows = "1500"
start = "ou=Sites,dc=leprino,dc=local"
scope = "subtree"
attributes = "dn,SAMAccountName,displayname,sn,givenName,mail,title,description,postOfficeBox,department,telephoneNumber,facsimileTelephoneNumber"
startRow = "1"
separator = "|"
delimiter = "$">

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
Participant ,
Jun 20, 2006 Jun 20, 2006

Copy link to clipboard

Copied

LATEST
Thanks for the reply,

Where you have specified username="domain/intranet" could you please clarify what you are referring to, as in:

do you mean domain = the name of our active directory domain, and intranet = the username (i.e. administrator)

Many thanks

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