File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

LDAP: error code 53 - Function Not Implemented

Rahul Sonawale

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(
at com.sun.jndi.ldap.LdapCtx.processReturnCode(
at com.sun.jndi.ldap.LdapCtx.processReturnCode(
at com.sun.jndi.ldap.LdapCtx.searchAux(
at com.sun.jndi.ldap.LdapCtx.c_search(
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(
at DifferentSearches.doFilterSearch(
at DifferentSearches.main(

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 ?
[ October 17, 2008: Message edited by: Rahul Sonawale ]
I agree. Here's the link:
subject: LDAP: error code 53 - Function Not Implemented
It's not a secret anymore!