dcsimg
JNDI:Attribute not returned in search result
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   vikram_mandal
Posted On:   Monday, August 4, 2003 10:26 PM

hi everyone, I urgently need some help on ldap search. I have a directory structure something like c=xyz -+-ou=x ----+-ou=... ----+-ou=... ----+-ou=... ----+-cn=crl here ----+-ou=... now when i am searching this node and displaying all "ou" under "ou=x,c=xyz" the search is not showing the nodes after the "cn",which is in-between the "ou"s i am using jsp, jndi, critical path directory server ================ some code i am using for the search DirContext ctx=new InitialDirContext(env);    More>>

hi everyone,


I urgently need some help on ldap search.

I have a directory structure something like


c=xyz

-+-ou=x

----+-ou=...

----+-ou=...

----+-ou=...

----+-cn=crl here

----+-ou=...


now when i am searching this node and
displaying all "ou" under
"ou=x,c=xyz" the search is
not showing the nodes after the "cn",which
is in-between the "ou"s





i am using jsp, jndi, critical path directory server


================

some code i am using for the search

DirContext ctx=new InitialDirContext(env);




SearchControls constraints = new SearchControls();




constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);



constraints.setReturningObjFlag(true);




NamingEnumeration results=ctx.search
(SearchBase,"objectClass=*",constraints);




================

thankyou in advance for your help


from vikram.
   <<Less
About | Sitemap | Contact