<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The oneuser list shows password encrypted.<br>
    In one_auth file, password in clear.<br>
    <br>
    Le 3/8/12 12:46 PM, Nicolas Diogo a écrit :
    <blockquote cite="mid:4F589C09.2020401@gmx.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello guys,<br>
      <br>
      i would appreciate if you could throw me a bone here..<br>
      <br>
      i am strugling to understand how to enable a user to login through
      Sunstone.<br>
      <br>
      the user and passwords used in opennebula <i><b>do not seem to
          match</b></i> between <b>files</b> and <b>oneuser</b> CLI<br>
      <br>
      why are these password hashes different? AND which is the one used
      by CLI and Sunstone?<br>
      <br>
      oneadmin@myserver01:~$ cat .one/*<br>
      serveradmin:c305e051818ea144ed5454b32c43193526e5ac26<br>
      serveradmin:c305e051818ea144ed5454b32c43193526e5ac26<br>
      oneadmin:ab3410fd013384710ce63290934ca288<br>
      serveradmin:c305e051818ea144ed5454b32c43193526e5ac26<br>
      oneadmin@myserver01:~$ oneuser list<br>
        ID GROUP    NAME           
      AUTH                                               PASSWORD<br>
         0 oneadmin oneadmin        core              
      49e9b268a6d4c8eb7f10855de46431ad5b9fd56a<br>
         1 oneadmin serveradmin     server_c          
      8167bc222062a50e3a9fd68ac05d462deb15d648<br>
      <br>
      these are the details after a default installation on a Debian 6
      x64<br>
      <br>
      i am trying to understand how to setup and connect to opennebula
      through Sunstone and it is difficult for me.<br>
      <br>
      with regards,<br>
      <br>
      <br>
      <br>
      On 07/03/12 09:37, Nicolas Diogo wrote:
      <blockquote cite="mid:4F572C73.8080800@gmx.com" type="cite">
        <meta http-equiv="Context-Type" content="text/html;
          charset=ISO-8859-1">
        <br>
        <br>
        the documentation does mention cipher<br>
        <a moz-do-not-send="true"
          href="http://opennebula.org/documentation:rel3.2:sunstone">http://opennebula.org/documentation:rel3.2:sunstone</a><br>
        <a moz-do-not-send="true"
href="http://opennebula.org/documentation:rel3.2:cloud_auth#symmetric_key">http://opennebula.org/documentation:rel3.2:cloud_auth#symmetric_key</a><br>
        <br>
        but it does not mention how to use it or how to change a
        password.<br>
        <br>
        anybody has a pointer about this?<br>
        <br>
        <br>
        <br>
        <br>
        On 06/03/12 15:43, biro lehel wrote:
        <blockquote
          cite="mid:1331048618.7286.YahooMailClassic@web120502.mail.ne1.yahoo.com"
          type="cite">
          <table>
            <tbody>
              <tr>
                <td valign="top">Yes, that is the password that I tried
                  to use on the Sunstone log-in screen, but it didn't
                  work. I've also set /var/lib/one/.one/one_auth as
                  ONE_AUTH env. variable for oneadmin.<br>
                  <br>
                  My problem still persists.<br>
                  <br>
                  Regards,<br>
                  Lehel.<br>
                  <br>
                  --- On <b>Tue, 3/6/12, Nicolas Diogo <i><a
                        moz-do-not-send="true"
                        href="mailto:nicolasdiogo@gmx.com"><nicolasdiogo@gmx.com></a></i></b>
                  wrote:<br>
                  <blockquote><br>
                    From: Nicolas Diogo <a moz-do-not-send="true"
                      href="mailto:nicolasdiogo@gmx.com"><nicolasdiogo@gmx.com></a><br>
                    Subject: Re: [one-users] Can't log onto Sunstone
                    [OpenNebula 3.2.0, OpenSUSE 11.4]<br>
                    To: "biro lehel" <a moz-do-not-send="true"
                      href="mailto:lehel.biro@yahoo.com"><lehel.biro@yahoo.com></a><br>
                    Date: Tuesday, March 6, 2012, 5:28 PM<br>
                    <br>
                    <div>
                      <div> i had understood that password for sunstone
                        is kept on:<br>
                        <br>
                        /var/lib/one/.one/one_auth<br>
                        <br>
                        with content like:<br>
                        <br>
                        oneadmin:yourpasswordinplaintext<br>
                        <br>
                        assuming that /var/lib/one/ is the $HOME for
                        oneadmin<br>
                        <br>
                        <br>
                        <br>
                        <br>
                        On 06/03/12 14:22, biro lehel wrote:
                        <blockquote type="cite">
                          <table>
                            <tbody>
                              <tr>
                                <td valign="top">Hello,<br>
                                  <br>
                                  I still couldn't fix my problem to log
                                  onto Sunstone, as I keep getting the
                                  "OpenNebula is not running" error.<br>
                                  <br>
                                  The relevant part of oned.log:<br>
                                  <br>
                                  Tue Mar  6 16:11:02 2012 [ReM][D]:
                                  UserPoolInfo method invoked<br>
                                  Tue Mar  6 16:11:02 2012 [AuM][D]:
                                  Message received: LOG I 2 Command
                                  execution fail:
                                  /var/lib/one/remotes/auth/server_cipher/authenticate
                                  'serveradmin'
                                  '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
ukbtkaYnnWypvN2hqaDZgdA5mF3S5R4q/sGkbnHvP9JqTNoUXw8LkewWOwILQLfk<br>
                                  <br>
                                  Tue Mar  6 16:11:02 2012 [AuM][I]:
                                  Command execution fail:
                                  /var/lib/one/remotes/auth/server_cipher/authenticate
                                  'serveradmin'
                                  '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
ukbtkaYnnWypvN2hqaDZgdA5mF3S5R4q/sGkbnHvP9JqTNoUXw8LkewWOwILQLfk<br>
                                  Tue Mar  6 16:11:02 2012 [AuM][D]:
                                  Message received: LOG I 2 sh:
                                  /var/lib/one/remotes/auth/server_cipher/authenticate:
                                  Permission denied<br>
                                  <br>
                                  Tue Mar  6 16:11:02 2012 [AuM][I]: sh:
                                  /var/lib/one/remotes/auth/server_cipher/authenticate:

                                  Permission denied<br>
                                  Tue Mar  6 16:11:02 2012 [AuM][D]:
                                  Message received: LOG I 2 ExitCode:
                                  126<br>
                                  <br>
                                  Tue Mar  6 16:11:02 2012 [AuM][I]:
                                  ExitCode: 126<br>
                                  Tue Mar  6 16:11:02 2012 [AuM][D]:
                                  Message received: AUTHENTICATE FAILURE
                                  2 -<br>
                                  <br>
                                  Tue Mar  6 16:11:02 2012 [AuM][E]:
                                  Auth Error: <br>
                                  Tue Mar  6 16:11:02 2012 [ReM][E]:
                                  [UserPoolInfo] User couldn't be
                                  authenticated, aborting call.<br>
                                  Tue Mar  6 16:11:09 2012 [VMM][I]:
                                  --Mark--<br>
                                  Tue Mar  6 16:11:09 2012 [InM][I]:
                                  --Mark--<br>
                                  Tue Mar  6 16:11:09 2012 [ReM][D]:
                                  HostPoolInfo method invoked<br>
                                  Tue Mar  6 16:11:09 2012 [ReM][D]:
                                  VirtualMachinePoolInfo method invoked<br>
                                  Tue Mar  6 16:11:09 2012 [ReM][D]:
                                  AclInfo method invoked<br>
                                  <br>
                                  My questions:<br>
                                  <br>
                                     * Who is "serveradmin"? It's the
                                  first time I see such a username;<br>
                                     * Shouldn't I be logging in with
                                  "oneadmin" user, and it's system
                                  password (the password with which I
                                  normally log into my system)?<br>
                                     * I found the encrypted passwords
                                  in one.db (two users are present,
                                  "oneadmin" and "serveradmin") Is there
                                  anything to do with them?<br>
                                  <br>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                          <br>
                          <br>
                          <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="/mc/compose?to=Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
                        </blockquote>
                        <br>
                        <br>
                        <div>-- <br>
                          sent with Debian Linux (<a
                            moz-do-not-send="true"
                            href="http://www.debian.org">http://www.debian.org</a>)<br>
                          free yourself into a safer internet <br>
                          this message is only intended to its recipient
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </td>
              </tr>
            </tbody>
          </table>
        </blockquote>
        <br>
        <br>
        <div>-- <br>
          sent with Debian Linux (<a moz-do-not-send="true"
            href="http://www.debian.org">http://www.debian.org</a>)<br>
          free yourself into a safer internet <br>
          this message is only intended to its recipient </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
      </blockquote>
      <br>
      <br>
      <div class="moz-signature">-- <br>
        <small> sent with Debian Linux (<a moz-do-not-send="true"
            class="moz-txt-link-freetext" href="http://www.debian.org">http://www.debian.org</a>)<br>
          free yourself into a safer internet </small> <br>
        <small> this message is only intended to its recipient </small></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

</pre>
  </body>
</html>