Avatar (user photo) from LDAP and AD

Avatar (user photo) from LDAP and AD

by Alain Jeanson -
Number of replies: 2

Hello,

We are using Moodle 3.4 with LDAP integration with Active Directory (AD).

We use the ThumbnailPhoto AD Field to populate the users's picture.

Is there any way to make Moodle use this field in AD to update the users' avatar ?


Thanks in advance.

Average of ratings: -
In reply to Alain Jeanson

Re: Avatar (user photo) from LDAP and AD

by Colin Fraser -
Picture of Documentation writers Picture of Testers

AFAIK, I don't think so, User images can be uploaded from those sources, but whether those sources can be accessed from within Moodle, mmmm not sure. You might try adding a link to an image into the database but I doubt that would work, data typing of the field is likely to work against that. 

The reality of User images is that the user may upload an inappropriate image. A lot of Admins and their bosses think that this is something that users should not be allowed to do so they refuse permissions for users to use their own images and use system generated images. You can use this method as outlined in the Moodle Docs, or allow users to do it for themselves.  

In reply to Alain Jeanson

Re: Avatar (user photo) from LDAP and AD

by Gitte Bendixen -

Hi,

Did you solve this problem? Or should we develop this as an plugin to ldap server?

Best regards,

Gitte