Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2960

Improve error message when 'Test search' fails

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Directory - LDAP
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      When the combination of User DN prefix and Base DN fails to parse as a valid LDAP name, the following message is displayed on screen (see attachment): "No results were found from your search. org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - No Such Object]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name '/'".

      A better error message should inform about the invalid name, e.g., "User Search DN could not be parsed: Invalid name: obviouslywrong,dc=example,dc=org".

      Steps to reproduce:

      1. Create or update a LDAP connector.
      2. In field "User DN", enter some text that does not parse as a valid component of a DN (see picture).
      3. Push "Test search".

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dberrueta Diego Berrueta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: