I wanted to use LDAP to give access to the nexus repository manager from sonatype for those users who need more access than just browsing.
Software used:
Directory setup
Nexus setup
Security > LDAP Configuration
Connection
Authentication
Make sure the Check Authentication button is OK
User Element Mapping
Since the password field is blank it will actually perform a bind on ldap to test.
Group Element Mapping
Here I had to change the default Group Member Format from ${username} to${dn} because I map the full dn in my group of unique names objects.
Hit the Check User Mapping button:
You should see all your users with their groups
Security > Roles
Add an external role mapping. For example - here we map the LDAP group nexusadmin to the Nexus Administration Role
Administration > Server
Head down the page to security settings and make sure that LDAP is selected. Without this LDAP users will not be able to log in but they will look fine in the Security > Users list.
That should be enough to give your LDAP users a working login.