In eDirectory, photos are stored in the jpegPhoto attribute. There is a
wish to write all photos that are changed (inserted or overwritten) to
file. Set up a loopback driver with some ecmascript to create the file.
This works fine, though the file is still in base64 format. Decoding the
file from the command prompt works fine. It would be good however, to do
the decoding in the driver so we don't have too many dependencies. Used
the 'Base64 decode' verb, and exported it to file again. This does not
work, and the photo is not created correctly on th file system. Anybody
have an idea what could be the reason for this?

anitone's Profile:
View this thread: