Hello everybody:
I have been going through the archives but with no success....
I need to query a LDAP directory for a user and show their picture. I
execute the LDAP query but I am not able to show the picture information
(JPEG file).
<cfldap action="QUERY" name="Test" attributes="uid,
mail,guradiusprofile,jpegphoto" start="ou=Specials, o=University.EDU,c=US"
scope="SUBTREE" filter="(uid=userid)" server="ldap.university.edu">
Then, if I try to output the JPEGPHOTO all I see on the screen is '����'
which, if I try to TOBINARY() I get the first 5 characters of the image
file.
The problem and the question is - why I am getting only the first 5
characters (in TOBASE64 format) of the JPEG image. Am I missing something?
Thanks for the help.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists