You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "SERGEY ERMAKOV (Jira)" <ji...@apache.org> on 2020/04/15 13:36:00 UTC

[jira] [Updated] (OPENMEETINGS-2262) LDAP attribute mapping for ldap_user_attr_picture doesn't'work with Active Directory

     [ https://issues.apache.org/jira/browse/OPENMEETINGS-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

SERGEY ERMAKOV updated OPENMEETINGS-2262:
-----------------------------------------
    Issue Type: Bug  (was: New Feature)

> LDAP attribute mapping for ldap_user_attr_picture doesn't'work with Active Directory
> ------------------------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-2262
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2262
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: LDAP
>    Affects Versions: 5.0.0-M3
>         Environment: Apache Tomcat/9.0.31
>            Reporter: SERGEY ERMAKOV
>            Assignee: Maxim Solodovnik
>            Priority: Major
>
> When I set ldap_user_attr_picture=thumbnailPhoto (or jpegPhoto, doesn't matter), it causes internal server error during user auth by ldap query with the following log message:
> ERROR 04-15 15:56:48.460 o.a.d.a.l.m.e.DefaultAttribute:523 [pr-8080-exec-12] - ERR_13215_VALUE_EXPECT_STRING The value is expected to be a String
> ERROR 04-15 15:56:48.461 o.a.o.c.l.LdapLoginManager:231 [pr-8080-exec-12] - Unexpected exception.
> org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException: ERR_13215_VALUE_EXPECT_STRING The value is expected to be a String
> at org.apache.directory.api.ldap.model.entry.DefaultAttribute.getString(DefaultAttribute.java:524)
> at org.apache.openmeetings.core.ldap.LdapLoginManager.getStringAttr(LdapLoginManager.java:153)
> at org.apache.openmeetings.core.ldap.LdapLoginManager$LdapWorker.getUser(LdapLoginManager.java:371)
> at org.apache.openmeetings.core.ldap.LdapLoginManager.login(LdapLoginManager.java:215)   
>  
> Seems like there is STRING value expected but Active Directory contains:
> thumbnailPhoto: <ldp: Binary blob 68590 bytes>;
> jpegPhoto: <ldp: Binary blob 68590 bytes>;
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)