It seems uri provided in LDAP config is being used as-is https://github.com/apache/openmeetings/blob/master/openmeetings-core/src/main/java/org/apache/openmeetings/core/ldap/LdapLoginManager.java#L375
Could you please fie JIRA issue https://issues.apache.org/jira/browse/OPENMEETINGS And provide desired format: i.e. example value being retrived from LDAP Thanks in advance! On Tue, Jun 19, 2018 at 6:08 PM Maxim Solodovnik <[email protected]> wrote: > > I'll try to check the code ASAP .... > On Tue, Jun 19, 2018 at 5:48 PM Peter Dähn <[email protected]> wrote: > > > > We also had trouble with this using SOAP/REST API > > > > Here seems to be something missed... > > > > RoomClientPanel.java, Line 52 > > > > By now we use by now this piece of code. > > > > String pictureUri = c.getUser().getPictureuri(); > > if (pictureUri == null || pictureUri.length() == 0) > > pictureUri = "profile/" + c.getUserId(); > > item.add(AttributeModifier.append("style", String.format("background-image: > > url(%s);", pictureUri))); > > > > But this doesn't work in all cases. Default- and OM Picture will not > > displayed, but picture for SOAP works so far... > > > > Greetings Peter > > > > Am 19.06.2018 um 11:35 schrieb Fraser Jackson: > > > > Hi there > > I am struggling with a problem with LDAP. I have the configuration and > > most of the mapping set up and working, but I can't get the profile picture > > mapping to work. I am using openLDAP, and have a 'labeledURI' field with > > the web-address of the picture(s), which are all 150x150 jpegs. However > > the pictures don't appear in the user profiles. Instead, when I check the > > om_user database in MariaDB, the field is populated with the label > > 'labeledURI' instead of the image. I am using Openmeetings 4.0.4 on an > > Ubuntu 16.0.4 vmware server. Can anyone suggest what I am doing wrong? > > Thanks > > Fraser > > > > -- > WBR > Maxim aka solomax -- WBR Maxim aka solomax
