This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Java in General and the fly likes Using the JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using the JNDI" Watch "Using the JNDI" New topic

Using the JNDI

Lars Larsson

Joined: Aug 10, 2007
Posts: 1
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

I agree. Here's the link:
subject: Using the JNDI
It's not a secret anymore!