From fbe3efe95ee31bdb0e647378150529c76d8ca6f6 Mon Sep 17 00:00:00 2001 From: Tony Roman Date: Mon, 1 Sep 2008 22:32:44 +0000 Subject: [PATCH] 0001090: LDAP authenication fails when using quote character in password git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4682 860744bd-22fc-0310-8c96-e9fe5004b5ca --- auth_login.php | 2 +- docs/CHANGELOG | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/auth_login.php b/auth_login.php index af1f0b1bc8..fe67e57d5d 100644 --- a/auth_login.php +++ b/auth_login.php @@ -99,7 +99,7 @@ if ($action == 'login') { if (!$ldap_error) { /* auth user with LDAP */ - $ldap_auth_response = cacti_ldap_auth($username,get_request_var_post("login_password"),$ldap_dn); + $ldap_auth_response = cacti_ldap_auth($username,stripslashes(get_request_var_post("login_password")),$ldap_dn); if ($ldap_auth_response["error_num"] == "0") { /* User ok */ diff --git a/docs/CHANGELOG b/docs/CHANGELOG index 5c0d1b8dc0..2e663bd50c 100644 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -1,6 +1,7 @@ Cacti CHANGELOG 0.8.7c +-bug#0001090: LDAP authenication fails when using quote character in password -bug#0001100: spine hangs on unreachable hosts -bug#0001135: Graph export feature not exporting as per user level selected -bug#0001141: Script server appears broken for "index" and "query" requests (Documentation Fix)