cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
580
Views
0
Helpful
1
Replies

Can I use an attribute other than samAccountID or %%uid%% for UDS photo URI substitution?

cheryl.alvarado
Level 1
Level 1

I'm trying to configure Jabber for Windows 11.5.2 and CUCM IM & Presence 10.5.2 to display user photos from a https:// URI instead of from AD, since we don't have photos in AD.  The problem I'm having is our web server where the photos are doesn't have them listed by username, they are listed by another attribute in AD called employeeType.  Is there any way I can use the employeeType attribute in the URI substitution?

employeeType is being synchronized in the CUCM LDAP settings to a "custom user field" named eNumber.

I can successfully browse to the photos from a web browser.

I've tried the following settings in jabber-config.xml, and none of them have worked.  Any suggestions on what I should try next?

 <Directory>
  <DirectoryServerType>UDS</DirectoryServerType>
  <UDSPhotoUriSubstitutionEnabled>true</UDSPhotoUriSubstitutionEnabled>
  <UDSPhotoUriSubstitutionToken>employeeType</UDSPhotoUriSubstitutionToken>
  <UDSPhotoUriWithToken>https://photos.emporia.edu/photos/employeeType</UDSPhotoUriWithToken>
 </Directory>

 <Directory>
  <DirectoryServerType>UDS</DirectoryServerType>
  <UDSPhotoUriSubstitutionEnabled>true</UDSPhotoUriSubstitutionEnabled>
  <UDSPhotoUriSubstitutionToken>employeeType</UDSPhotoUriSubstitutionToken>
  <UDSPhotoUriWithToken>https://photos.emporia.edu/photos/%%employeeType%%</UDSPhotoUriWithToken>
 </Directory>

 <Directory>
  <DirectoryServerType>UDS</DirectoryServerType>
  <UDSPhotoUriSubstitutionEnabled>true</UDSPhotoUriSubstitutionEnabled>
  <UDSPhotoUriSubstitutionToken>eNumber</UDSPhotoUriSubstitutionToken>
  <UDSPhotoUriWithToken>https://photos.emporia.edu/photos/%%eNumber%%</UDSPhotoUriWithToken>
 </Directory>

 <Directory>
  <DirectoryServerType>UDS</DirectoryServerType>
  <UDSPhotoUriSubstitutionEnabled>true</UDSPhotoUriSubstitutionEnabled>
  <UDSPhotoUriSubstitutionToken>eNumber</UDSPhotoUriSubstitutionToken>
  <UDSPhotoUriWithToken>https://photos.emporia.edu/photos/eNumber</UDSPhotoUriWithToken>
 </Directory>

1 Accepted Solution

Accepted Solutions

Jaime Valencia
Cisco Employee
Cisco Employee

Custom fields are only used by some apps like AC. AFAIK if you're using UDS, the choices for that field are limited to uid or SAMAccountName, other options can only be used when using EDI/BDI

HTH

java

if this helps, please rate

View solution in original post

1 Reply 1

Jaime Valencia
Cisco Employee
Cisco Employee

Custom fields are only used by some apps like AC. AFAIK if you're using UDS, the choices for that field are limited to uid or SAMAccountName, other options can only be used when using EDI/BDI

HTH

java

if this helps, please rate