My company develops and sells a SaaS application that has hundreds of customers. Some of our customers have asked us to support LDAP integration for authenticating user acco
You need to decide how you plan to link an LDAP user to an account within your application.
For example, you could require that the username within the LDAP system match the username within your app, or you could require that someone explicitly specify an LDAP username within each user account in your app.
Once you've got that link figured out, you can simply execute an LDAP bind to test user credentials.