Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

LDAP query

807580Jun 11 2010 — edited Jun 12 2010
I'm working on a program for my internship, and I'm not sure how to implement it.
I need to write a program that gets all the dn's from a tree on our LDAP server. Ex:
dn: cn=itemName,ou=directoryZ,ou=directoryY,o=directoryX
Such that I retrieve the cn's in directoryZ.
I will then use each of those cn's to do a query on our SQL database, so I need to be able to temporarily store the cn.
I've gotten the code written that will actually connect to the server; I'm just not sure how to execute the search.
Thanks,
Colin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2010
Added on Jun 11 2010
11 comments
265 views