Martyn Houghton Posted September 8, 2017 Posted September 8, 2017 Would it be possible via the LDAP Importer to populate/update the analyst pictures in Hornbill from the picture held in the active directory? Cheers Martyn
samwoo Posted September 8, 2017 Posted September 8, 2017 46 minutes ago, Martyn Houghton said: Would it be possible via the LDAP Importer to populate/update the analyst pictures in Hornbill from the picture held in the active directory? Cheers Martyn Hi @Martyn Houghton, I had already queried this before and I have no idea where I got my response from. This is currently possible to do:https://wiki.hornbill.com/index.php/LDAP_User_Import Do a search for "ImageLink" and the details are there. You will need to upgrade your LDAP_Import tool and Conf files if you havent done so for a while. The URI we use is "thumbnailPhoto" which also has to be defined under LDAPAttributes. The example provided on the Github link below is basically what we use Github Link: https://github.com/hornbill/goLDAPUserImport Hope that helps, Samuel
Martyn Houghton Posted September 8, 2017 Author Posted September 8, 2017 @samwoo Thanks. I will give that ago. Cheers Martyn
Martyn Houghton Posted September 8, 2017 Author Posted September 8, 2017 Well got a bit further, have updated to version 2..2.1 of the tool and configured it as per the Wiki, but for each user we get the following error. 2017/09/08 12:29:07 [DEBUG] Roles Added Successfully 2017/09/08 12:29:07 [DEBUG] Image Lookup URI: thumbnailPhoto 2017/09/08 12:29:07 [DEBUG] DAV Upload URL: https://eurapi.hornbill.com/XXXXXXXXXX/dav/session/martyn.houghton.jpg 2017/09/08 12:29:07 [DEBUG] Uploaded 2017/09/08 12:29:07 [DEBUG] Profile Set Image URL: /session/martyn.houghton.jpg 2017/09/08 12:29:07 [ERROR] Unable to Associate Image to User Profile: ESP Image Converter Tool failed 2017/09/08 12:29:07 [DEBUG] Processing User Profile Data martyn.houghton 2017/09/08 12:29:07 [DEBUG] User Profile Update Success 2017/09/08 12:29:07 [DEBUG] User Update Skipped Config contains the following settings, and thumbnailPhoto is listed in the attributes section. Also tried it with the png option. "ImageLink":{ "Action":"Both", "Enabled": true, "UploadType": "AD", "InsecureSkipVerify": true, "ImageType": "jpg", "URI": "thumbnailPhoto" }, Just going to double check with our IT that they are using the standard thumbnailPhoto attribute for storing staff images. Cheers Martyn
Martyn Houghton Posted September 8, 2017 Author Posted September 8, 2017 Would also appear that the process has deleted the existing manually uploaded profile pictures as well, so every one is a grey person now! Cheers Martyn
TrevorKillick Posted September 8, 2017 Posted September 8, 2017 @Martyn Houghton Can you change "URI": "thumbnailPhoto" to "URI": "[thumbnailPhoto]" and try again please? This was a change made recently to keep field mapping unique across the configuration variables. Also make sure thumbnailPhoto is listed in the attributes section of the configuration. Kind Regards Trevor Killick
Martyn Houghton Posted September 8, 2017 Author Posted September 8, 2017 @TrevorKillick That did the the trick with the "URI": "[thumbnailPhoto]", we now have pictures again. Might we worth updating the example section in the download as well. Thanks. Martyn 1
TrevorKillick Posted September 11, 2017 Posted September 11, 2017 @Martyn Houghton Yes of course sorry about that have updated the example and rebuild the tool. Kind Regards Trevor Killick
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now