Installation Guide for Cisco UC Integration for Microsoft Lync Release 8.5
Enabling Display of Photos in Notification Windows, the Conversations Window, and Contact Cards
Downloads: This chapterpdf (PDF - 102.0KB) The complete bookPDF (PDF - 3.17MB) | Feedback

Enabling Display of Photos in Notification Windows, the Conversations Window, and Contact Cards

Table Of Contents

Enabling Display of Photos in Notification Windows, the Conversations Window, and Contact Cards

Adding the Active Directory Schema Snap-In

Creating the photoUri Attribute

Setting a Default Value for the photoUri Attribute Using ADSI Edit

Enabling the ADSI Edit Application

Configuring IIS to Display Photos

Verifying the User Object


Enabling Display of Photos in Notification Windows, the Conversations Window, and Contact Cards


Revised: April 15, 2011

Adding the Active Directory Schema Snap-In

Creating the photoUri Attribute

Setting a Default Value for the photoUri Attribute Using ADSI Edit

Configuring IIS to Display Photos

Verifying the User Object

Adding the Active Directory Schema Snap-In

Procedure


Step 1 Execute the following command:

regsvr32 schmmgmt.dll

Step 2 Execute the following command to start Microsoft Management Console:

mmc

Step 3 In Microsoft Management Console, select File > Add/Remove Snap-in.

Step 4 Select Active Directory Schema, then select Add.

Step 5 Select Close on the Add Standalone Snap-in dialog box, then select OK on the Add/Remove Snap-in dialog box.


What to Do Next

Creating the photoUri Attribute

Creating the photoUri Attribute

Procedure


Step 1 Start the Active Directory Schema administrative tool.

Step 2 Right-click the Attribute container, then select New > Attribute from the pop-up menu.

Step 3 To create the photoUri attribute, complete the fields on the properties dialog box as follows:

Field
Description

Description

Enter "photoUri".

Common Name

Enter "photoUri".

X500 OID

Enter the object ID.

Syntax

Enter "Case Insensitive String".

Allow this attribute to be shown in advanced view

Select this option.

Attribute is active

Select this option.

Attribute is copied when duplicating a user

Select this option.


Step 4 Select OK.

Step 5 Open the Classes container in the Active Directory Schema administrative tool, right-click user, then select Properties from the pop-up menu.

Step 6 Select Attributes, then select Add.

Step 7 Select photoUri from the list on the Select Schema Object dialog box, then select OK.


What to Do Next

Setting a Default Value for the photoUri Attribute Using ADSI Edit

Setting a Default Value for the photoUri Attribute Using ADSI Edit

Before You Begin

If you cannot run the ADSI Edit application, you must enable the ADSI Edit application before you perform this procedure.

Procedure


Step 1 Execute the following command to start the Active Directory Service Interface (ADSI) editor:

adsiedit.msc

Step 2 Open the organizational unit (OU) you require, right-click the user you require, then select Properties.

Step 3 Select the photoUri attribute, then select Edit.

Step 4 Enter the URL for the photo for the user in the Value field. For example, enter a URL similar to the following:

http://www.example.com/photos/mweinstein.jpg


Note If you plan to use a script to populate the default value, enter a space character in the Value field. You cannot run a script if there is no default value.


Step 5 Select OK.

Step 6 After you configure IIS to display photos, you can verify that you can view the photo by accessing the URL you entered.


Related Topics

Enabling the ADSI Edit Application

Configuring IIS to Display Photos

Enabling the ADSI Edit Application

If you cannot run the ADSI Edit application, you must perform the following procedure.

Procedure


Step 1 Execute the following command:

regsvr32 adsiedit.dll

Step 2 Execute the following command to start the ADSI editor:

adsiedit.msc

Step 3 If the application still does not start, obtain the adsiedit.dll file, then run the command in Step 1 from the folder where the adsiedit.dll file is located.


Related Topics

Setting a Default Value for the photoUri Attribute Using ADSI Edit

What to Do Next

Configuring IIS to Display Photos

Configuring IIS to Display Photos

Procedure


Step 1 Start Internet Information Services Manager.

Step 2 Select the computer name in the left pane, then select Web Sites.

Step 3 Right-click Default Web Site, then select New > Virtual Directory.

Step 4 Follow the instructions in the wizard to create the virtual directory, and enter the local folder where the photos are located. You can now access the photos from the URL structured as follows:

http://<domain-name>/<virtual-directory>/<photo-filename>

For example, you can access a photo with a URL similar to the following:

http://www.example.com/photos/mweinstein.jpg


What to Do Next

Verifying the User Object

Verifying the User Object

Procedure


Step 1 Execute the following command:

ldp

Step 2 Select Connection > Connect, then select OK.

Step 3 Select Connection > Bind, enter your username and password, then select OK.

Step 4 Select View > Tree, select the BaseDN, then select OK.

Step 5 Open the BaseDN node, then double-click on the user you require.

Step 6 Verify that the photo information is present for the user.