cacti icon indicating copy to clipboard operation
cacti copied to clipboard

Suspect typo error in cacti/auth_login.php for LDAP authentication

Open chtay opened this issue 9 years ago • 1 comments

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.

chtay avatar Jul 17 '17 22:07 chtay

Resolved, thanks.

cigamit avatar Jul 20 '17 01:07 cigamit