<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 21, 2017 at 7:10 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hello,<br></div>yesterday I installed a 4.0.6 ovirt engine on a CentOS 7.3 server and I was then able to connect.<br></div>Today I try to login, I mispelled some times the password and then I get this in web admin portal<br><br><span style="vertical-align:top;display:table-cell">Cannot Login. User Account is Disabled or Locked, Please contact your system administrator.
</span><br></div></div></blockquote></div><br></div><div class="gmail_extra">So Ok, I found it<br><br>Even after restart of engine nothing changed <br>Tried the command without the "--password-valid-to" switch but nothing changed <span style="vertical-align:top;display:table-cell"></span><br></div><div class="gmail_extra">So I used the "show" option<br></div><div class="gmail_extra"><br>[root@ovmgr1 ~]# ovirt-aaa-jdbc-tool user show admin<br>-- User admin(b3f8e191-2085-4b34-84d0-b8c7e2884618) --<br>Namespace: *<br>Name: admin<br>ID: b3f8e191-2085-4b34-84d0-b8c7e2884618<br>Display Name: <br>Email: <br>First Name: admin<br>Last Name: <br>Department: <br>Title: <br>Description: <br>Account Disabled: false<br>Account Locked: true<br>Account Unlocked At: 2017-01-21 19:12:21Z<br>Account Valid From: 2017-01-20 16:17:22Z<br>Account Valid To: 2217-01-20 16:17:22Z<br>Account Without Password: false<br>Last successful Login At: 2017-01-20 16:22:19Z<br>Last unsuccessful Login At: 2017-01-21 18:12:21Z<br>Password Valid To: 2018-12-31 23:59:59Z<br><br>and then the unlock one<br>[root@ovmgr1 ~]# ovirt-aaa-jdbc-tool user unlock admin<br>updating user admin...<br>user updated successfully<br>[root@ovmgr1 ~]# <br><br></div><div class="gmail_extra">And now I'm able to connect...<br><br></div><div class="gmail_extra">Sorry for the noise... ;-)<br></div></div>