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