This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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 ]
 
rocket mass heater kickstarter
 
subject: LDAP: error code 53 - Function Not Implemented