Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6874059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:08:51+00:00 2026-05-27T04:08:51+00:00

I am in the preparation phase of testing an application that will be using

  • 0

I am in the preparation phase of testing an application that will be using LDAP for user authentication. What are some tips or advice you might have for this endeavor?

I don’t have a great understanding of LDAP but I believe all that will be used is the application client calls to LDAP with a username and sees if the password matches. Is that an accurate description? Also, what are some edge cases to test? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:08:52+00:00Added an answer on May 27, 2026 at 4:08 am

    LDAP authentication is often (but not always) a 2-step process: first the application does an LDAP query to locate the “distinguished name” (dn) of the account the user’s trying to authenticate to, then it tries to log in (“bind”, in LDAP parlance) as that dn, using the user-supplied password.

    If the “bind” attempt works, the application knows the password is correct. (The LDAP server is likely not configured to allow the application to actually extract the password and do the comparison itself, for obvious security reasons).

    An LDAP-enabled application will typically require a way to configure:

    • hostname/port of LDAP server
    • search base (e.g., dc=mycompany,dc=org)
    • user search filter (e.g. “(|(cn=%userid)(mail=%userid))”)
    • application credentials for the initial LDAP query (unless the server allows anonymous queries)

    You will most likely need to support SSL, so you don’t send the user’s password to the LDAP server in cleartext.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SQL Server table that contains postal addresses. In preparation for mailing,
I'm doing some past exam papers in preparation for a forthcoming exam, and have
In preparation of a future application design, I've started some investigations on CQRS-style applications
I have been doing some reading in preparation for starting my first WCF project
I'm doing some simple tests (in preparation for a larger project) to call an
Why I can use setcookie without any preparation while need a session_start() before using
I have been studying SOAP and WSDL in preparation for implementing a web service.
As part of preparation for an Interview I have been asked to read up
I will be part of the development of device driver for android. In preparation,
I have an application where I want to migrate from MetaWhere to Squeel in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.