This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
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

Using the JNDI

 
Lars Larsson
Greenhorn
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
/Lars

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic