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. --- [2] ALEX ZUOTOSKI Tecnologia da Informação Fones: +5541-3641-4250 / Ramal 229 E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br [2] http://www.csmcalderaria.com.br [3] Em 2017-01-09 09:48, Szládovics Péter escreveu: > 2017-01-09 12:29 keltezéssel, Alexandre Zuotoski Neto > (t...@csmcalderaria.com.br) í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 [1] >> - >> add: thumbnailPhoto >> thumbnailPhoto:< file://path/example.jpg [1]" | 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 > > -- > users@sogo.nu > https://inverse.ca/sogo/lists Links: ------ [1] file://path/example.jpg [2] http://www.csmcalderaria.com.br [3] http://www.csmcalderaria.com.br/ -- users@sogo.nu https://inverse.ca/sogo/lists