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

LDAP Authentication Error

Contributor ,
Feb 19, 2007 Feb 19, 2007

Copy link to clipboard

Copied

I'm building an LDAP authentication system.

Good news: It works fine when I submit a valid password.
Bad news: It breaks otherwise.

The error I get upon submitting anything but the correct password is:

Inappropriate authentication

The error occurred in cfldap_action.cfm: line 39

37 : start = "#dn#"
38 : scope = "base"
39 : attributes = "dn, pid">

How can I use CF to display a desired error message upon a bad credential if it throws some error like this before my error handling code kicks in?

Thanks,
Rick
TOPICS
Advanced techniques

Views

332

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
Advocate ,
Feb 19, 2007 Feb 19, 2007

Copy link to clipboard

Copied

Can you handle the error with <cftry> / <cfcatch>? or does coldfusion throw an ugly error message regardless?

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
Contributor ,
Feb 19, 2007 Feb 19, 2007

Copy link to clipboard

Copied

Thanks Michael.

I added the cftry/cfcatch code and it works!

Rick

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
Advocate ,
Feb 20, 2007 Feb 20, 2007

Copy link to clipboard

Copied

LATEST
Glad to be of help.

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