Skip to main content

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

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.


NewDeclined

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

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


Hi ​@Laurent ,

We are on version 23.04.26.

I see, thanks for the answer!