Auto import LDAP users

This post is also available in: French

We seen in last article how to import manually LDAP users in Centreon wen interface. This boring import can be done automatically !

For security reasons, the Centreon web inteface doesn’t allow for users( who is not linked to ACL definition) to see resources after connection.

So, if you connect Centreon to an incorrect branch of the LDAP directory, only the resources associated with the LDAP groups allowed in Centreon (part of the configuration of ACL) will have access to resources.

Configuration

To enable auto-import, you must edit the LDAP configuration on Centreon web interface using “Administration -> Options -> Options -> LDAP” menu and select your LDAP configuration.

Enable auto-import by checking “Auto import users” box:

2015-03-02_160845_

Save the configuration using “Save” button.

Usage

In our example the “Tintin” user  is never connected to Centreon web interface. He is not present into user list:

2015-03-02_160945

After connection, the “Tintin” user has access to an empty interface due to no relations with ACL definitions. However, the administrator account can see that the contact has been imported into Centreon:

2015-03-02_161234

This contact use an LDAP autenticationto access to Centreon web interface:

2015-03-02_161303

The notification parameters are inherited from the “ldap_template” contact’s template.

Have a nice configuration!

Incoming search terms:

  • centreon connected users