[
https://issues.apache.org/jira/browse/MRM-2008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17023637#comment-17023637
]
Martin Stockhammer commented on MRM-2008:
-----------------------------------------
Indeed, the Java LDAP API does some escaping for names that contain slashes. I
think, I could fix it.
Commit 0aa82c13efa16ff9a58d32951ea15a10863bd809 on archiva-redback-core for the
2.x branch
Commit 2ec73e9ed5331e89e8e2306586b32cba2488c228 on archiva-redback-core for the
master.
We are not going to release a fix version for the archiva 2.2 version in the
near time.
If you like to test it, you have to use the snapshot files and replace them in
your local archiva installation.
You have to replace the jar file:
apps/archiva/WEB-INF/lib/redback-common-ldap-2.6.jar in the archiva
installation by the version from
[https://archiva-repository.apache.org/archiva/repository/snapshots/org/apache/archiva/redback/redback-common-ldap/2.6.1-SNAPSHOT/redback-common-ldap-2.6.1-20200125.195446-1.jar]
Please tell me, if you encounter any problems with this fix.
Regards
Martin
> LDAP/Roles Mapping LDAP Group names ending with a double quote
> --------------------------------------------------------------
>
> Key: MRM-2008
> URL: https://issues.apache.org/jira/browse/MRM-2008
> Project: Archiva
> Issue Type: Bug
> Components: redback
> Affects Versions: 2.2.4
> Environment: AIX 7.1 on Power with war file deployed to WebSphere
> Liberty 19.0.0.9
> Reporter: Frederick Asselin
> Assignee: Martin Stockhammer
> Priority: Minor
> Attachments: archiva_ldap_groups.jpg
>
>
> We're trying to setup LDAP in our Archiva installation. We're using the war
> file deployed to a WebSphere Liberty 19.0.0.9 server running on AIX 7.1.
> LDAP server is Security Directory Server 6.4 running also on AIX 7.1.
> I'm able to configure the LDAP server and properties in Archiva and the
> "Verify LDAP changes" and "Verify LDAP configuration on server side" checks
> are successfull.
> I can see the user list when I edit a role and I can also see the groups in
> the LDAP/Roles mapping tab. However, the groups are listed with an ending
> double quote, which is not present in the LDAP server.
> The issue also occurs when I run Archiva using the default Jetty server
> running on my Windows 10 laptop connecting to the same LDAP server.
> I don't know if it is the cause of our other problem, but Archiva doesn't
> seem to see the LDAP group membership so when I assign roles to LDAP groups,
> they are not taken into account when a user logs in.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)