Hi Alex,
That's easy.
SOGo by default uses the photo LDAP attribute. You need to create a Mapping
from photo to thumbnailPhoto or jpegPhoto, or both. See the documentation for
LDAP UserSource mapping, I don't have it in my mind.
It should look somehow like
photo = ("thumbnailPhoto", "jpegPhoto")
Best regards,
Christoph
> Am 09.01.2017 um 13:03 schrieb Alexandre Zuotoski Neto
> ([email protected]) <[email protected]>:
>
> Hi!
>
> Thanks for reply. If I understood, your examples are on how to add images
> to AD. My MS-AD already have users images, I wanna use them in SOGo, like I
> alredy do in Roundcube, GLPI, Openfire, etc.
>
> How can I import/show my AD users images into SOGo?
>
> Cheers.
>
>
>
> ---
>
> Alex Zuotoski
> Tecnologia da Informação
> Fones: +5541-3641-4250 / Ramal 229
> E-mails: [email protected] / [email protected]
>
> http://www.csmcalderaria.com.br
>
> Em 2017-01-09 09:48, Szládovics Péter escreveu:
>
>> 2017-01-09 12:29 keltezéssel, Alexandre Zuotoski Neto
>> ([email protected]) írta:
>>> Hi!
>>>
>>> I saw that SOGo now supports active directory avatars (I guess that it
>>> also supports MS-AD thumbnalPhoto/jpegPhoto attribute). Is it correct? If
>>> so, how to do it, please?
>>>
>>> Thanks you!
>>>
>>
>> Hi Alexandre,
>>
>> For example: if you have a thumbnail in /path/example.jpg, then you can do
>> it with the following method.
>>> echo "dn: cn=example.user,dc=example,dc=com
>>> changetype: modify
>>> add: jpegPhoto
>>> jpegPhoto:< file://path/example.jpg
>>> -
>>> add: thumbnailPhoto
>>> thumbnailPhoto:< file://path/example.jpg" | ldapmodify -D
>>> cn=administrator,dc=example,dc=com -W
>> It adds both attribute to the user's attributes after you give the
>> administrator' password.
>> You need the ldap-utils package for do that.
>>
>> If user have an other jpeg thumbnail avater, then you need to use the
>> "replace" command instead of "add". I think you can use the ldbmodify
>> instead of ldapmodify with similar syntax, but not sure to same. I usually
>> use above.
>>
>> Cheers,
>> Peti
>> --
>> [email protected]
>> https://inverse.ca/sogo/lists
> --
> [email protected]
> https://inverse.ca/sogo/lists
--
[email protected]
https://inverse.ca/sogo/lists