Hi! 

 Unfortunatelly it is not working with CaldavSynchronizer. When photo
mapping is enabled, CalDav returns the following error:
"System.FormatException: Invalid length for a Base-64 char array or
string.". 

 Somebody already had this issue, but the answer wasn't very good:
https://sourceforge.net/p/outlookcaldavsynchronizer/discussion/general/thread/d6640b37/


 Is there anything that we can do to make it work with
CalDavSynchronizer, too? 

Thank you. 

---

 [1] 
ALEX ZUOTOSKI
Tecnologia da Informação
Fones: +5541-3641-4250 / Ramal 229
E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br 
 [1] 

http://www.csmcalderaria.com.br [2] 

Em 2017-01-09 10:46, Christoph Kreutzer escreveu: 

> 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 
> (t...@csmcalderaria.com.br) <users@sogo.nu>:
> 
> 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. 
> 
> ---
> 
> [1] 
> ALEX ZUOTOSKI
> Tecnologia da Informação
> Fones: +5541-3641-4250 / Ramal 229
> E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br 
> [1] 
> 
> http://www.csmcalderaria.com.br [2] 
> 
> 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 [3]
> -
> add: thumbnailPhoto
> thumbnailPhoto:< file://path/example.jpg [3]" | 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 [4]

-- 
users@sogo.nu
https://inverse.ca/sogo/lists [4] 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists 

Links:
------
[1] http://www.csmcalderaria.com.br
[2] http://www.csmcalderaria.com.br/
[3] file://path/example.jpg
[4] https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to