how to configure LDAP for the nexus repository manager1 min read

Prabhin Prabharkaran Administrator
DevOps Engineer

He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!

follow me

Hi all, this document deals with how to configure LDAP for the nexus repository manager.
Nexus is a repository manager. It allows you to proxy, collect, and manage your dependencies so that you are not constantly juggling a collection of JARs. It makes it easy to distribute your software. Internally, you configure your build to publish artifacts to Nexus and they then become available to other developers.

There are certain needs in an organization wish to enable common authentication for their daily used application rather than having a different password for all different application. So they use SSO, LDAP, etc.

Configuration

1. Login to the nexus repository manager
2. Click on the setting button the top menu bar.
3. Select LDAP from the left side panel.


4. Click on a new connection for LDAP.
5. Configure as below.
Name: Provide a name for your LDAP connection.
LDAP: provide the LDAP server IP details, select whether it is LDAP or ldaps ( SSL enabled)
Search base: provide the domain name. ex: for techrunnr.loc it will be dc=techrunnr,dc=com . For ad.techrunnr.loc domain name it will be dc=ad,dc=techrunnr,dc=loc
Authentication Method: Simple Authentication
Username: DOMAINNAME\username
Password: Password of the above-mentioned user.


6. Test the LDAP connection using the verify button,

7. Next step is to configure user mapping
Base DN: select the Organisation group which needs to populate to nexus.
object class: user
UserID: mail or sAMAccountName (based on your requirement which needs to be used for login)
Real Name of attribute: cn
Email attribute: mail


8. Test user population to nexus and verify the login works, Now you can see AD users list in nexus and save.

 

© 2020, Techrunnr. All rights reserved.

#1
#2
#3
Questions Answered
Articles Written
Overall Points

Related posts

Leave a Reply