[ 
https://jira.codehaus.org/browse/MRM-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355204#comment-355204
 ] 

Jonathan Sharp commented on MRM-1866:
-------------------------------------

In 2.1.1, you must specify the group object and member attribute manually in 
archiva.xml (if they are not the default), within tags 
redbackRuntimeConfiguration -> configurationProperties -> ldap -> config -> 
groups -> class (for the objectClass) and redbackRuntimeConfiguration -> 
configurationProperties -> ldap -> config -> groups -> member (for the 
attribute).

> No LDAP groups to map to roles, cannot login with LDAP authentication
> ---------------------------------------------------------------------
>
>                 Key: MRM-1866
>                 URL: https://jira.codehaus.org/browse/MRM-1866
>             Project: Archiva
>          Issue Type: Bug
>          Components: Problem Reporting
>    Affects Versions: 2.1.1
>         Environment: Debian7.7-amd64, tomcat8.0.14,oracle jdk8.0.25
>            Reporter: Miroslav Zaťko
>         Attachments: archiva_general.jpg, archiva_rolesmapping.jpg, 
> ldap-structure.jpg
>
>
> - connection to LDAP server tested using buttons on UsersRuntimeConfiguration 
> -> LDAP tab. It is working.
> - on UsersRuntimeConfiguration -> LDAP/Roles Mapping I am not able to find 
> any LDAP group to map
> - I am not able to login any LDAP user. When logging in, 12 lines with "INFO  
> org.apache.archiva.redback.authentication.ldap.LdapBindAuthenticator [] - 
> user 'test' authenticated" are logged into logs/archiva.log and another 12 
> messages "[Could not find object. Type 
> 'org.apache.archiva.redback.users.jdo.JdoUser'. Id: 'test'.]" are shown in 
> login dialog as red error messages



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to