Adding binary data to the attribute by using command line
If an attribute requires binary data, you can use the command line to add binary data for the attributes.
Procedure
To add binary data, run the following command.
idsldapmodify -D <adminDN> -w <adminPW> -i <filename>Where filename contains
the following details:dn: cn=Bob Garcia, ou=deptABC, ou=Austin, o=sample
changetype: modify
add: jpegphoto
jpegphoto:< file:///usr/local/directory/photos/Bob.jpg