WSO2 is now Choreo LabsLearn more

Trusted AI Governance
Build

Create agents and AI apps with the tools and languages your teams already use.

Connect

Link agents securely to your APIs, data, models and business systems.

Run

Deploy, observe and operate agents and AI apps reliably at any scale.

Govern

Control identity, access, cost and policy for every agent in production.

Agent Management

Developer Platform

  • API Management Cloud

    Design, secure and publish APIs with governance and analytics built in.

    Sign Up Now
  • Integration Cloud

    Connect apps, data and AI agents with low-code and pro-code integration.

    Sign Up Now
  • Identity & Access Management Cloud

    Secure sign-in and access for customers, partners, workforce and agents.

    Sign Up Now
  • Agent Management Cloud

    Build, run and govern AI agents with full visibility and control.

    Sign Up Now
  • Developer Platform Cloud

    Ship cloud-native apps faster on an internal developer platform.

    Sign Up Now

Self-Hosted

Full control over your stack. Deploy directly to your own servers, bare metal, cloud, or Kubernetes environment. Your data never leaves your perimeter.

Product Downloads
Choreo Labs
AI Governance
Platform
Solutions
Resources
Article

How to import LDAP users to WSO2 carbon based products

 WSO2 Carbon based products such as WSO2 WSAS, WSO2 Registry, WSO2 Identity Server and WSO2 BPS etc. are able to integrate with external user information systems such as active directories, LDAP servers and several other types of databases. Using these external user information systems, you can control such things as application login, service invoking permissions, service management permissions etc. In this short tutorial, Chamara Silva explains how to integrate an LDAP users into a WSO2 Carbon based product.

In this example, I will use the WSO2 Governance Registry product.

 1. Download WSO2 Governance Registry binary

 2. Extract Registry zip

 3. Run wso2server.bat (Linux - wso2server.sh) file inside Registry/bin folder.

 4. After starting the WSO2 Governance Registry, open up a browser window and type the following url: https://localhost:9443/carbon

 if you are accessing from different machine, use https://machineIP:9443/carbon

 5. you will see the following interface:

6. Use following credentials to login:

   user name = admin

   password = admin

7. To import LDAP users in to the WSO2 Governance Registry product, you have to use user management functionality. Now click user management link from menu available.

8. To enter LDAP configurations, you have to use external user store fuctionality. Now click external user store link found on the user management page.

9. Select LDAP option under 'External store type'.

10. Now, you need to enter your LDAP settings in this page.

      Here I will use my sample LDAP settings:

      Connection URL                        - ldap://10.100.1.220:10389  (use your LDAP IP and port)

      Connection user name*             - uid=admin,ou=system       (you can use your LDAP user name in uid)

      Connection password*              - admin123

      Connection password repeat*    - admin123

      User Context Name*                 - ou=system

      User Pattern*                           - uid={0},ou=system

using above information, fill in the external user store page as shown below:

Click finish. You can now use LDAP users within the WSO2 Governance Registry product.

Author

Suminda Chamara Silva - Senior Software Engineer(QA) - [email protected]