Skip to main content
Declined

Unable to save LDAP configuration with recursive user search on nested groups

Related products:Infra Monitoring - Configuration
  • March 5, 2025
  • 4 replies
  • 68 views

Forum|alt.badge.img+2

Hello,

 

I recently encountered an issue when trying to save my LDAPS configuration that uses a user filter on a nested group. Centreon does not retrieve users recursively from nested groups. To address this, I attempted to use the OID :1.2.840.113556.1.4.1941: in my LDAP query. However, an error occurs stating that the field is incorrect.

 

Does anyone know if this is a bug ?

 

As a workaround, I used the Command Line API (CLAPI) to modify the LDAP configuration directly on the Centreon server:

 

centreon -u ADMIN-CENTREON -p PASSWORD -o LDAP -a SETPARAM -v "LDAPS-NAME;user_filter;(&(userPrincipalName=%s)(objectCategory=person)(objectClass=user)(memberOf:1.2.840.113556.1.4.1941:=CN=GROUP-NAME,OU=OU-NAME,DC=DOMAIN,DC=LOCAL))"

 

I hope that will help someone

 

Jasmin

4 replies

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • March 7, 2025

Declined as this is more of a bug than an idea. Seems like this used to work from the configuration before. We will open a bug ticket.


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • March 7, 2025
NewDeclined

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • March 7, 2025

Hi ​@Jasmin which version of Centreon do you used?

This issue have been fixed in Centreon Web > 23.10.1 and higher


Forum|alt.badge.img+2
  • Author
  • Steward *
  • March 10, 2025

Hi ​@Laurent ,

We are on version 23.04.26.

I see, thanks for the answer!