Skip navigation
Phinehas1234
Currently Being Moderated

Fail to use LDAP

Apr 4, 2012 8:05 PM

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?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points