Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

controls require LDAPv3

 
Madhav Kanneganti
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are getting this error when we search for an attribute on openLDAP, what is this issue and how does this going to fix it?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From what I recall working with LDAP,

LDAPv3 added a wealth of new features.

The message is telling you this.

WP
 
Madhav Kanneganti
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi WP,
How do we fix this from java? Is really problem with java what we use (1.6.x) version?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Java 1.6 is the most modern version of Java.

The problem is you appear to be either using a newer v3 LDAP API with a v2 directory, or opposite.

WP
 
Madhav Kanneganti
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do we figure out which api version we are using, because we used simple JNDI code to connect to LDAP.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic