1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

Allow user passwords with ':' characters

(cherry picked from commit 6c5e90eb84)
This commit is contained in:
Carlos Martín 2011-09-27 12:32:08 +02:00
parent 3a36b22644
commit fcb98539ce
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class AuthDriver < OpenNebulaDriver
authN_path = File.join(@local_scripts_path, protocol)
command = File.join(authN_path,ACTION[:authN].downcase)
command << ' ' << user << ' ' << password << ' ' << secret_attr.join(' ')
command << ' ' << user << ' ' << password << ' ' << secret_attr.join(':')
local_action(command, request_id, ACTION[:authN])
end

View File

@ -27,7 +27,7 @@
#include "Group.h"
const string User::INVALID_CHARS = " :\t\n\v\f\r";
const string User::INVALID_CHARS = " \t\n\v\f\r";
/* ************************************************************************** */
/* User :: Database Access Functions */