<div dir="ltr">Hi Pavol,<div><br></div><div>We solved it, it was an interesting case.</div><div><br></div><div>On Startup time we were getting an error stating that the administrator user couldn't be imported from file as the provided password (the standard MidPoint password for the admin user) doesn't comply with the defined password policy:</div><div><br></div><div><div><i><font color="#e06666">2017-03-23 08:40:53,400 [] [localhost-startStop-1] ERROR (com.evolveum.midpoint.init.InitialDataImport): Couldn't import user:00000000-0000-0000-0000-000000000002(administrator) from file 050-user-administrator.xml: .</font></i></div><div><i><font color="#e06666">com.evolveum.midpoint.util.exception.PolicyViolationException: Provided password does not satisfy password policies. Required minimal size (8) of password is not met (password length: 6)</font></i></div></div><div><br></div><div>This is somehow a deadlock as one can't enter MidPoint with a sufficiently empowered account to perform changes on the password policy, since there's no administrator user to do so.</div><div><br></div><div>Solution was changing the default password on 050-user-administrator.xml file on the server with a password that was in this case, 8 characters long. Restarted and administrator was generated without problems.</div><div><i><font color="#e06666"><br></font></i></div><div><span style="color:rgb(0,0,0)">Regards,</span><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><b>Rodrigo Yanis.</b><br><img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br></font>Jorge Newbery 3226<br>Tel: +54 (11) 4824-9971<font face="arial, helvetica, sans-serif"><br><a href="mailto:ryanis@identicum.com" target="_blank"><font color="#0b5394">ryanis@identicum.com</font></a><br><a href="http://www.identicum.com/" target="_blank"><font color="#0b5394">www.identicum.com</font></a></font></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-03-23 10:13 GMT-03:00 Pavol Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hello Rodrigo,</p>
    <p>what's in idm.log file?<br>
    </p>
    <pre class="m_2797326590717898531moz-signature" cols="72">Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre><div><div class="h5">
    <div class="m_2797326590717898531moz-cite-prefix">On 23.03.2017 14:10, Rodrigo Yanis
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hello everyone,
        <div><br>
        </div>
        <div>We're running MidPoint version 3.5.1 and we're having some
          issues regenerating the administrator account after having
          mistakenly deleting it. While this issue came up several times
          on the list, I couldn't find any case where the account
          wouldn't regenerate after a restart.</div>
        <div><br>
        </div>
        <div>Do you have any clue where the problem may lay? Is there
          any data that need to be cleansed in order for this process to
          work smoothly? </div>
        <div><br>
        </div>
        <div>Thanks,<br clear="all">
          <div>
            <div class="m_2797326590717898531gmail_signature" data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr"><br>
                              </div>
                              <div dir="ltr"><font face="arial,
                                  helvetica, sans-serif"><b>Rodrigo
                                    Yanis.</b><br>
                                  <img src="http://www.identicum.com/img/favicon.ico">Identicum
                                  S.A.<br>
                                </font>Jorge Newbery 3226<br>
                                Tel: +54 (11) 4824-9971<font face="arial, helvetica, sans-serif"><br>
                                  <a href="mailto:ryanis@identicum.com" target="_blank"><font color="#0b5394">ryanis@identicum.com</font></a><br>
                                  <a href="http://www.identicum.com/" target="_blank"><font color="#0b5394">www.identicum.com</font></a></font></div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_2797326590717898531mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
midPoint mailing list
<a class="m_2797326590717898531moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a class="m_2797326590717898531moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div>