Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Security and the fly likes LDAP: error code 53 - Function Not Implemented Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "LDAP: error code 53 - Function Not Implemented" Watch "LDAP: error code 53 - Function Not Implemented" New topic
Author

LDAP: error code 53 - Function Not Implemented

Rahul Sonawale
Greenhorn

Joined: Apr 05, 2006
Posts: 6
Hi All,
While doing search on Oracle internet directory server(oracle ldap server),
we are getting following exception.

Exception in thread "main" javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name 'ou=people,dc=test,dc=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3058)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
at DifferentSearches.doFilterSearch(DifferentSearches.java:99)
at DifferentSearches.main(DifferentSearches.java:23)


Following is the code -



When we search on the added attributes (like currentsession count) it works fine. For this we had to enable index in OID on this field. But this is not possible for the default attributes. OID does not provide a way to enable indexing on these attributes. Could someone please let us know how we can search on default attributes ?
Regards
Rahul
[ October 17, 2008: Message edited by: Rahul Sonawale ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LDAP: error code 53 - Function Not Implemented
 
Similar Threads
Windows Authentication Using Tomcat 5.0
LDAP Search
[LDAP: error code 32 - No Such Object]; remaining name ''
LDAP: error
LDAP and NamingEnumeration