03-24-2016 02:46 PM - edited 03-17-2019 05:59 PM
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>
Solved! Go to Solution.
03-24-2016 04:02 PM
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
03-24-2016 04:02 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide