1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug #1394: fix ldap authentication when using username

This commit is contained in:
Javi Fontan 2012-09-14 17:54:00 +02:00
parent 54456eef0e
commit 97b537ad27

View File

@ -83,7 +83,7 @@ begin
end
if ldap.authenticate(user_name, secret)
escaped_user=URI_PARSER.escape(user_name)
escaped_user=URI_PARSER.escape(user)
escaped_secret=URI_PARSER.escape(secret)
puts "ldap #{escaped_user} #{escaped_secret}"
authenticated=true