1 Reply Latest reply: May 16, 2012 1:23 PM by ion RSS

    Fail to use LDAP

    Phinehas1234

      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?