Skip to main content
Version: 4.9

LDAP Exports

The BlueMind LDAP export plugin lets you export users and groups defined in BlueMind to an LDAP directory.

How it works

BlueMind exports its data to an openLDAP directory. This service is installed when the LDAP export add-on and its dependencies are installed.

Generated directory structure

The root DN of the generated directory is dc=local.

Each BlueMind domain exports its data to a dedicated branch named with the domain UID. Under these domain branches, users and groups of the corresponding domain are placed in dedicated branches.

For example, for a BlueMind composed of 2 distinct domains with UID domain1.internal and domain2.internal, the LDAP directory structure is:

dc=local
|- dc=domain1.internal,dc=local
| \- ou=users,dc=domain1.internal,dc=local
| | \- # Users of UID domain domain1.internal
| | |- ...
|
| \- ou=groups,dc=domain1.internal,dc=local
| \- # Groups of UID domain domain1.internal
| |- ...
|
|- dc=domain2.internal,dc=local
\- ou=users,dc=domain2.internal,dc=local
| \- # Users of UID domain domain2.internal
| |- ...
|
\- ou=groups,dc=domain2.internal,dc=local
\- # Groups of UID domain domain2.internal
|- ...

Authentication

BlueMind user accounts can be authenticated to the LDAP directory using the user's DN and BlueMind password.

Passwords are not exported to the LDAP directory.
To validate a password, the LDAP directory is configured to query the BlueMind service bm-core via the bm-ysnp service.

The root administrator passwords (rootdn):

RootDN administratorPasswordDescription
dc=localuid=admin,dc=localThe _ admin0@global.virt _Used by BlueMind to manage directory content
cn=configuid=admin,cn=configThe _ admin0@global.virt _Used by BlueMind to manage directory configuration
tip

It is possible to use API keys for authentication.

Installation procedure

  1. install the necessary packages on the server hosting BlueMind :
aptitude update
aptitude install bm-plugin-admin-console-ldap-export bm-plugin-core-ldap-export
  1. Restart BlueMind:
bmctl restart
  1. Install the package bm-ldap-role on the server on which you want the LDAP directory to run (which may be the BlueMind server or another separate server):
aptitude update
aptitude install bm-ldap-role
note

If you are asked any questions during package installation, select the default answer.
The LDAP directory configuration is reset by BlueMind at the following steps.

  1. Assign the role to the server. To do this:

    • while logged in as admin0, go to the admin console > Application Servers
    • if you are using a separate server that does not exist yet, add it using the button New > Host
    • select the server and go to the "Server roles" tab
    • in the "LDAP Directory" section, check "LDAP master directory created by BlueMind":
  2. Click "Save" to confirm

  3. Then associate this server with the desired domain(s). To do this, go to the section Domain Management > Manage Domains and:

    • select the domain you want to export in LDAP format
    • go to the "BM Services" tab
    • select the server for the service with the same name "LDAP master directory created by BlueMind":
    • Click "Save" to confirm

Repeat this process for each domain as required.