From 37618ecf45d2fdab166b4cd73a22e7adb7421323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 28 Sep 2011 12:40:40 +0200 Subject: [PATCH] Revert "Allow user passwords with ':' characters" This reverts commit fcb98539ce99109c4af3527415abb680cdb3556b. --- src/authm_mad/one_auth_mad.rb | 2 +- src/um/User.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authm_mad/one_auth_mad.rb b/src/authm_mad/one_auth_mad.rb index 7f6a0b9f82..b1d40bcaf9 100755 --- a/src/authm_mad/one_auth_mad.rb +++ b/src/authm_mad/one_auth_mad.rb @@ -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 diff --git a/src/um/User.cc b/src/um/User.cc index c649eace68..71b2d4cd28 100644 --- a/src/um/User.cc +++ b/src/um/User.cc @@ -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 */