Allow user passwords with ':' characters

(cherry picked from commit 6c5e90eb84)
This commit is contained in:
Carlos Martín committed 2011-09-27 14:38:33 +02:00
1 parent 3a36b22644
commit fcb98539ce
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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 */