How can I search a group(groupOfNames) in LDAP where as an input I can only pass the group name.Names of the groups created are unique. I am using LDAP eclipse plugin only, to search the group Hierarchy. I want the JAVA Code to search the group through it's cn(common name) which will be unique.
e.g.,
void searchGroupName("sampleGroup")
{
context.search(String groupRoot,String sampleGroup,SearchControls ctls);
}