CheckState - Return error 500 when user is disable
Concerned version
Version: %2.0.5
Platform: Nginx
Summary
We use CheckState as a check in our centreon(monitoring).
https://lemonldap-ng.org/documentation/latest/checkstate
When the check is OK
The result in json: {"result":1}
When the test user fail, we receive a 500 error page with the error message:
That generate an unknown state in our monitoring system because he expect a json return with state 200
The expected result should be something like:
{"result":0 , "message":"Bad result during auth 5"}
Logs
Set here the logs using debug mode if possible. Attach it as file if it's too big
Backends used
REST / MONGODB REPLICA CLUSTER