Configuring business card photos for Domino LDAPAdded by IBM | Edited by Mary Jrolf on February 11, 2014 | Version 2 (Show original)
|To store photos in Domino® LDAP and enable UserInfo to retrieve them, please follow the steps below. A third-party LDAP management tool is required for adding a JPEG Photo field to Domino LDAP. Most LDAP V3-compliant tools will work.
To store photos in Domino
® LDAP and enable UserInfo to retrieve them, please follow the steps below. A third-party LDAP management tool is required for adding a JPEG Photo field to Domino
LDAP. Most LDAP V3-compliant tools will work.
Before you begin
Configuring Business Card with an authenticated LDAP bind account is highly recommended. Allowing Anonymous LDAP Schema write access is a security risk and additional security changes to Domino
Directory Access Control List may be required to allow anonymous write access to Domino
Parent topic: Configuring business cards using an LDAP directory
- Use Domino Administrator to enable Domino LDAP write access. Within default Configuration Setting Document LDAP, click Yes next to Allow LDAP users write access.
- Using the third party LDAP tool, connect to the Domino LDAP server and bind as a Domino Administrator. Once a successful connection is made, select a user and add an Attribute.
The Attribute name for Domino LDAP should be specified as: jpegphoto;binary and the type should be selected as binary. Note the name being used for the attribute. If you use just jpegPhoto or Photo as the name, depending on the LDAP tool, you might not be able to store images in the field. The -;binary is required for Domino LDAP to understand the binary data.
- Use the third party LDAP tool to import the JPEG or GIF photo into the new field.
Note: The size of the image should be smaller then 45kb.
- Use ldapsearch or the LDAP tool to check that the photo has uploaded successfully
- Log in to the Integrated Solutions Console.
- Click Sametime System Console -> Sametime Servers -> Sametime Community Servers.
- In the Sametime Community Servers list, click the deployment name of the server with the connectivity information that you want to change.
- Click the Business Card tab.
- In the Business Card Contents section, select the Photo attribute, and then click Add to include it in the business card.
- Under Attribute Definition, choose User Defined as the attribute value for Photo.
- In the User Defined column next to Photo, type jpegphoto;binary.
- Click OK.
- Open the LDAP server's Domino Directory (names.nsf) in a Lotus Notes® client.
- Expand the Configurations -> Servers, and select the Configurations view. Open this document in Edit mode and click the Basic tab. Enable the Use these settings as the default settings for all servers option. The LDAP tab appears.
- Click the LDAP tab. Click Choose Fields that Anonymous Users Can Query via LDAP.
- Click New in the window that displays.
- Type jpegphoto in the field and click OK to save the value. Click OK again to close the window.
- Save and close the document.
- Restart the LDAP server. From the server console, type tell ldap quit and then load ldap.
- Using LDAP tool or ldapsearch, check if you can anonymously retrieve jpegPhoto.
See "ldapsearch utility" in the Lotus® Domino Administrator Help at https://www.ibm.com/developerworks/lotus/documentation/domino/
- Browse to UserInfoConfig.xml file within the Domino Install folder. Under Details section, check to make sure Photo field is set to jpegPhoto;binary.
<Detail Id="Photo" FieldName="jpegPhoto;binary" Type="image/jpeg" />
- Restart the Sametime Community Server.