Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I recently updated cacti to version 1.2.9, latest available from EPEL on CentOS 7. Normally after updating Cacti I make a modification to auth_login.php so that the realm defaults to Local. This is to simplify the login process for our external users who would not use LDAP.
Today when I made the usual change it did not seem to have any effect.
I am going to partially answer my own question. It looks as if javascript was added to save the preferred realm of the user. To disable that behavior, I made the following changes starting at line 807 noted below.
This, however, is kind of an ugly hack. Is there a better way to do this?