This content has been marked as final. Show 7 replies
actually i want to perform a basic search using the user surname or uid or email and want to get all the details about that user
in the ldap binding code i m connecting through a normal user in that OU and then i want to perform the search
if u r still not clear ping me wht kind of info u want in regards of a basic search through LDAP
Attributes matchAttrs = new BasicAttributes(true); // ignore attribute name case
NamingEnumeration answer = ctx.search("OU=mainorg,OU=suborg,dc=hello,dc=domain,dc=in ",matchAttrs);
i m doing this--in this formatresults is the simple function to print only
i m doing thisWhy? It's not what I recommended, and it's not what you said you needed to do. If you're not going to take any notice of what you're told here why post? and why should anybody bother answering?
--in this formatresults is the simple function to print onlyYou need to restate that in standard English, in case anybody is stilll interested.