Possible bug - API no longer works with LDAP auth

  • Steps to reproduce an issue.

After the daily update one or two nights ago I noticed my API authentication is now broken. You can see in the attached screenshot the API keys are no longer associated with a user. When I try and make an API call such as https://libre-server/api/v0/oxidized I get the below error:

}[root@librenms]# curl http:/libre-server/api/v0/oxidized -H ‘X-Auth-Token: ’
“status”: “error”,
“message”: “API Token is missing or invalid; please supply a valid token”

This is working properly in the stable release.

  • The output of ./validate.php:


Component Version
LibreNMS 1.42.01-59-g4158615
DB Schema 260
PHP 7.2.5
MySQL 10.1.31-MariaDB
RRDTool 1.6.0

[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct![27%20PM|690x150]

This seems to be resolved in the most current release.