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

Fail to use LDAP

Guest
Apr 04, 2012 Apr 04, 2012

Copy link to clipboard

Copied

Hi,

I would like to use LDAP for login validation. Therefore, the coding is:

<cfldap

       ACTION="QUERY"

       SERVER="LDAP://int.abc.com"

       PORT="389"

       START="OU=Users,DC=int,DC=abc,DC=com"

       USERNAME="ABC\\#arguments.userid#"

       PASSWORD="#arguments.passwd#"

       NAME="checkPassword"

       filter="SAMAccountName=#arguments.userid#"

       ATTRIBUTES="*"

       SCOPE="SubTree"

       MAXROWS="1">

However, it shows me the following error message:

DetailOne or more of the required attributes may be missing or incorrect or you do not have permissions to execute this operation on the server. 
MessageAn error has occured while trying to execute query :Invalid name: /int.abc.com:389. 
Operationquery :Invalid name: /int.abc.com:389

How can I solve the problem?

TOPICS
Advanced techniques

Views

1.1K

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 ,
May 16, 2012 May 16, 2012

Copy link to clipboard

Copied

LATEST

the error message tells you the server name is incorrect. try instead (make sure is a valid dns name)

SERVER="int.abc.com"

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