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

M #-: LDAP user_uid might be nil (#158)

(cherry picked from commit 08bfe6f00341d9c206fc35a3a695afb05dc6f9ce)
This commit is contained in:
Jan Orel 2020-08-27 10:55:51 +02:00 committed by Ruben S. Montero
parent 3d42b4461b
commit fa51f18fd4
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -93,7 +93,7 @@ order.each do |servers|
break
end
if user_uid.downcase != user.downcase
if !user_uid.nil? && user_uid.downcase != user.downcase
STDERR.puts "User \"#{user}\" and \"#{user_uid}\" "\
"differes (leading/trailing whitespace)"
break