<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Devin,<br>
    <br>
    please check if it could be
    <a class="moz-txt-link-freetext" href="https://jira.evolveum.com/browse/MID-2405">https://jira.evolveum.com/browse/MID-2405</a> that you are hitting.<br>
    <br>
    Also: are you using the sample for bi-directional provisioning? I.e.
    do you have mapping for credentials both inbound and outbound? If
    you are importing accounts to midPoint and never back to CSV, you
    should only have inbound mappings.<br>
    <br>
    Best regards,<br>
    Ivan<br>
    <br>
    <div class="moz-cite-prefix">On 11/20/2015 09:49 PM, Devin
      Rosenbauer wrote:<br>
    </div>
    <blockquote
cite="mid:CABiXpeQL5zorbNn2wSDeLs4u7QUCuS5rLOj6G3S+XEMJHD9U8A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Good afternoon,<br>
              <br>
            </div>
            I'm attempting to set up and modify another of the sample
            connectors. Specifically, I would like to use one of the
            samples/resources/csvfile connectors to read new users (not
            assignments) out of a CSV file. I imported the sample file <b>localhost-csvfile-resource-advanced-sync-2.xml</b>
            and created a CSV file that looks like this:<br>
            <br>
"id","firstname","lastname","description","disabled","password","testfield"<br>
            "test12",Test,User1,"Test User","false","secret","something"<br>
            <br>
          </div>
          Midpoint scans the schema, as appropriate, and identifies that
          one user in the file. You can see, in the UI, all of the
          fields associated with that account, with the exception of the
          password. When I attempt to do "Import Account" in the UI to
          pull it in as a user (or on the resource screen, "Import
          accounts"), I get the following error message:<br>
          <br>
          Failed to import:
          com.evolveum.midpoint.model.api.PolicyViolationException:
          Provided password does not satisfy password policies. Required
          minimal size (5) of password is not met (password length: 4)<br>
          <br>
        </div>
        As far as I can tell, the imported password is simply blank. If
        I click on the account and view "Account details", the password
        shows up only when I select "show empty fields". However, in
        that case, shouldn't the <generate/> tag under
        <credentials> tell Midpoint to just create a
        policy-satisfying password for that user?<br clear="all">
        <div>
          <div>
            <div>
              <div><br>
                -- <br>
                <div class="gmail_signature">
                  <div dir="ltr">Devin Rosenbauer<br>
                    Principal Consultant<br>
                    Identity Works LLC<br>
                    +1 585 210 3201<br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
  Ing. Ivan Noris
  Senior Identity Management Engineer & IDM Architect
  evolveum.com                     evolveum.com/blog/
  ___________________________________________________
  "Semper Id(e)M Vix."
</pre>
  </body>
</html>