From 62bf3f4bcd5cc800139ee230ed920a5de2aee881 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Fri, 14 Sep 2012 18:08:56 +0200 Subject: [PATCH] bug #1385: ldap driver now returns the user dn as password --- src/authm_mad/remotes/ldap/authenticate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authm_mad/remotes/ldap/authenticate b/src/authm_mad/remotes/ldap/authenticate index 4a4d9fef9a..516c3e37b1 100755 --- a/src/authm_mad/remotes/ldap/authenticate +++ b/src/authm_mad/remotes/ldap/authenticate @@ -84,7 +84,7 @@ begin if ldap.authenticate(user_name, secret) escaped_user=URI_PARSER.escape(user) - escaped_secret=URI_PARSER.escape(secret) + escaped_secret=URI_PARSER.escape(user_name) puts "ldap #{escaped_user} #{escaped_secret}" authenticated=true break