This question about LDAP: Answered
Can Solr get user thumnail images from LDAP?
I'm using LDAP on my site, so instead of grabbing user info from the UserForm
attached to each topic, I want to grab that from LDAP. It looks like you have already provided some nice functionality for this. I copied SolrWikiUsersViewTemplate into MySkinWikiUsersViewTemplate, and it's grabbing telephone numbers and email addresses etcetera. from LDAP, which is great. The problem is, I also want to get user image thumbnails from LDAP but it doesn't seem to have this functionality. I'm wondering if perhaps this feature is already in development, or if you can provide any tips for setting this up? It would be a very handy feature since we already have user thumbnails in LDAP and it doesn't make sense for everyone to also need to upload a picture to their wiki home pages.
Thanks in advance for any help or advice you can offer.
- 02 Mar 2014
does already have means to capture blobs coming from LDAP. See the
which does perform the required caching. It then calls
to extract the actual image and make it accessible to the web server.
However these images are aaall
stored at to
There are a couple of problems here:
- images don't seem to have a proper image extention (jpeg, png, gif) based on their mime type
- images are not put into the "right" place wherever that is, maybe specified using an
attachtopic parameter to
- images are not attached properly using the Foswiki store api;
So Solr can't properly pick them up and associate them to the proper user profile. But hey things don't look that bad frankly. Close but not yet there. Patches welcome
- 27 Feb 2015
| Subject || LDAP |
| Extension || SolrPlugin |
| Version || Foswiki 1.1.9 |
| Status || Answered |
| Related Topics || |