Reputation: 266
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?
Upvotes: 0
Views: 830
Reputation: 10976
We put up a sample of connecting to LDAPS with JNDI.
We also have some general information on Using LDAP with AD. -jim
Upvotes: 1
Reputation: 46
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.
Upvotes: 2
Reputation: 4137
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.
Upvotes: 0