Imports more fields for my users from Active Directory (AD)

Rt:4.4.3
BD: Mysql

How can I add pictures for my users from Active Directory (AD).
For now gravatar works well, but the most practical would be to acquire the photo from AD.

In addition there are other fields that I need to import but I see that the database does not have more fields available.

To import the Department field I had to use the field Address2.
rt_ldap_fields

You’d have to make user level custom fields.

And then configure and periodically run rt-ldapimport:

https://docs.bestpractical.com/rt/latest/RT/LDAPImport.html

@Todd_Wade1 Thanks the problem occurs with the photography that is imported from active directory (thumbnailphoto), with text fields the solution that you propose works correctly.

The error that it presents is Encode::Guess guessed encoding: UTF-32BE

Do you have any suggestions about it?