This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Password Change on Ldap keep on failing
How to add a user in the Active Directory via JNDI/LDAP?
LDAP example in JAVA
Modifying an attribute in LDAP using JNDI
Change Ldap Password