This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using the JNDI" Watch "Using the JNDI" New topic
Author

Using the JNDI

Lars Larsson
Greenhorn

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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using the JNDI