I can modify String type attributes (both single and multi-valued) fine.
However I can't seem to figure out how to modify a boolean type LDAP

This mainly stems from the fact that LDAPAttribute constructor can only
be created either from a String or a byte array.

Here's a snippet of my code:

ldapConnection.modify("CN=John Doe,OU=Eng,OU=Some Corp,DC=dept,DC=com",
new LDAPModification(LDAPModification.ADD,new LDAPAttribute(attrName,

I am doing this wrong but how do I get a byte array to be treated like
a boolean? I am thoroughly confused.

Please help.


vankaya's Profile: http://forums.novell.com/member.php?userid=70453
View this thread: http://forums.novell.com/showthread.php?t=392328