0

How to fetch users from Active Directory using LDAPS in java. The AD server is with our client. I'm able to fetch using LDAP protocol, but for LDAPS what additional information do I require from client?

1

3 Answers 3

2

If you have the AD modules, you can use Get-AD user with the -LDAP Filter clause. You don't need the clauses to restrict the query to users. You can fetch it just check in your AD modules.

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

Comments

1

We put up a sample of connecting to LDAPS with JNDI.

We also have some general information on Using LDAP with AD. -jim

Comments

0

The code is quite similar to retrieval of objects from LDAP.
You need to remember that the port of LDAPS is usually not 389
(but that's the easy part) and handle certificate issues, as explained in the following blog.

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.