From d8a5325495aff82d765f41de4a6b5ead30e65f8a Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Fri, 9 Sep 2011 19:13:05 +0200 Subject: [PATCH] bug: dummy auth driver returns the passwd specify by the user if it does not exists (cherry picked from commit c2351158888141c71b32c024fbe4c264d121501a) --- src/authm_mad/remotes/dummy/authenticate | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/authm_mad/remotes/dummy/authenticate b/src/authm_mad/remotes/dummy/authenticate index 5ef03d7900..2e28d18be9 100755 --- a/src/authm_mad/remotes/dummy/authenticate +++ b/src/authm_mad/remotes/dummy/authenticate @@ -17,8 +17,9 @@ #--------------------------------------------------------------------------- # # $1 = username -# $2 = password -echo $* +# $2 = "-" if user is not registered in opennebula +# $3 = password +echo $1 $3