I have a mapping platform which produces ldif files for connected ldap servers.
This platform uses tcl scripts for these mappings.
For example i take a base64-encoded string for a "jpegPhoto" stored in ADS.
Then take it as an argument and then decode the string and save as a .jpg file under some directory by the help of the script.
My script returns the path of the file at the end.
However, i cannot handle the reverse scenario. Despite the fact that, ADS sends the photo data as a base64 encoded string, it only accepts binary data for the "jpegPhoto" attribute.(at far as i digged the The question is, am i allowed to return a binary value in a tcl script? As far as i tested, logs not clear but, i think i'm getting some encoding related errors. Any opinion will be appreciated.
thanks in advance..
This platform uses tcl scripts for these mappings.
For example i take a base64-encoded string for a "jpegPhoto" stored in ADS.
Then take it as an argument and then decode the string and save as a .jpg file under some directory by the help of the script.
My script returns the path of the file at the end.
However, i cannot handle the reverse scenario. Despite the fact that, ADS sends the photo data as a base64 encoded string, it only accepts binary data for the "jpegPhoto" attribute.(at far as i digged the The question is, am i allowed to return a binary value in a tcl script? As far as i tested, logs not clear but, i think i'm getting some encoding related errors. Any opinion will be appreciated.
thanks in advance..