Searched DN algorithm

This is the login sequence when you use the searched DN algorithm:

  1. Open Client connects to an Adaptive Server listener port.

  2. The Adaptive Server listener accepts the connection.

  3. Open Client sends an internal login record.

  4. Adaptive Server reads the login record.

  5. Adaptive Server binds to the LDAP server with a directory server access account.

    The connection established in steps 5 and 6 may persist between authentication attempts from Adaptive Server to reuse connections to DN searches.

  6. The LDAP server authenticates the user, returning either a success or failure message.

  7. Adaptive Server sends search requests to the LDAP server based on the login name from the login record and the DN lookup URL.

  8. The LDAP server returns the results of the search.

  9. Adaptive Server reads the results to obtain an a value of attribute from the DN lookup URL.

  10. Adaptive Server uses the value of attribute as the DN and the password from the login record to bind to the LDAP server.

  11. The LDAP server authenticates the user, returning either a success or failure message.

  12. If the primary URL specifies a search, Adaptive Server sends the search request to the LDAP server.

  13. The LDAP server returns the results of the search.

  14. Adaptive Server accepts or rejects the login, based on the search results.

Adaptive Server reports a generic login failure to the client if any of these authentication criteria are not met.

You may skip steps 12 and 13 by not specifying search criteria in the primary or secondary URL strings. The authentication completes, displaying the success or failure returned by step 11.