Storing LDAP Images and Binary Data in User Attributes

Vocera LDAP Adapter can be used to store Active Directory (AD) binary data in user attributes, including an image of up to 1 MB.

You can use Vocera LDAP Adapter to store a JPEG, PNG, or GIF image when a binary attribute is mapped to the user photo field in the user attributes. If the AD binary attribute contains multiple photos, the largest which is less than the maximum size (1 MB) will be stored on the user.

Both the Vocera attributes 'photo' and 'photo_type' exist in the system. When mapping the 'photo' field, the Vocera LDAP Adapter will automatically populate the 'photo_type' field with the corresponding Content-Type. You should not attempt to map both fields in the adapter's Attribute Mappings configuration.

For example, a common mapping to access the thumbnail photo for users would map the Vocera attribute "USERS.photo" to the LDAP attribute "LDAP.thumbnailPhoto" as shown in the example below. As mentioned, 'photo_type' field is not mapped in Attribute Mappings because the adapter will automatically populate it with the Content-Type.