2

I am trying to use LDAP for authentication. I am using the OpenLDAP library by Novell to do this (http://www.openldap.org/jldap/).

My issue is that it wants a full Distinguished Name to authenticate. However, what if I dont have the users OU?

1 Answer 1

2

You search!

You need some identifying piece of information. Username, email, full name. Then you search for a user who uid= or mail= or whatever works.

That returns the full DN then you proceed from there.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.