Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using the JNDI  RSS feed

Lars Larsson
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all!

I have a problem... I am successfully using the JNDI classes to access and read/write to an LDAP directory, everything seems to be fine except writing the jpegPhoto attribute!

The problem I have is that it refuses to write the LDAP attribute as a attribute of type binary, it's only store as a text value.

I managed to save binary attribute when using some class library from Novell, but I would like to stick to the core JDK so that I'm not depending on any external libraries.

I am attaching my class if its of any help...

Thank you in advance

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!