aspose file tools
The moose likes Java in General and the fly likes Using the JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using the JNDI
 
Similar Threads
Password Change on Ldap keep on failing
Change Ldap Password
How to add a user in the Active Directory via JNDI/LDAP?
Modifying an attribute in LDAP using JNDI
LDAP example in JAVA