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:
Detail | One or more of the required attributes may be missing or incorrect or you do not have permissions to execute this operation on the server. |
Message | An error has occured while trying to execute query :Invalid name: /int.abc.com:389. |
Operation | query :Invalid name: /int.abc.com:389 |
How can I solve the problem?
Copy link to clipboard
Copied
the error message tells you the server name is incorrect. try instead (make sure is a valid dns name)
SERVER="int.abc.com"