group « ldap « Java Enterprise Q&A

1. LDAP: How to get all Groups in Active Directory?

Is there a way to get the names of all groups in Active Directory using java?

2. Findout the LDAP groups in which given uid is belong

I have a little bit knowledge of LDAP. I have organozational structure in LDAP in below format, uid=test.gen,OU=Generics, Above uid is part of group "EF_GROUP" and some other groups also. Now i am only getting ...