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

bug #1385: ldap driver now returns the user dn as password

This commit is contained in:
Javi Fontan 2012-09-14 18:08:56 +02:00
parent 97b537ad27
commit 62bf3f4bcd

View File

@ -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