cacti
cacti copied to clipboard
Suspect typo error in cacti/auth_login.php for LDAP authentication
Initially reported in: https://forums.cacti.net/viewtopic.php?f=21&t=57713
In cacti/auth_login.php, under line 134 to 137 (in Cacti 1.1.13), the "realm" should be equal to 3 instead. $user = db_fetch_row_prepared('SELECT * FROM user_auth WHERE username = ? AND realm = 1', array($username));
By changing it to "realm = 3'", the LDAP authentication will work.
Resolved, thanks.