<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 30.06.2016 14:40, Oleg Fayans wrote:<br>
    </div>
    <blockquote cite="mid:57751347.50908@redhat.com" type="cite">
      <pre wrap="">Hi Martin,

Attached is a new version of the patch with two test cases separated.

On 06/29/2016 12:23 PM, Martin Basti wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">

On 29.06.2016 10:56, Oleg Fayans wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">

</pre>
        </blockquote>
        <pre wrap="">
Hello,

+        assert_error(result,
+                     "Failed to verify that %s is an IPA Server" %
+                     self.master.hostname)


I would expect this error there:

"Cannot promote this client to a replica. Local domain '{local}' does
not match IPA domain '{ipadomain}'. "
</pre>
      </blockquote>
      <pre wrap="">
Right, that's what this ticket is about:
<a class="moz-txt-link-freetext" href="https://fedorahosted.org/freeipa/ticket/6006">https://fedorahosted.org/freeipa/ticket/6006</a>

Once these changes are implemented, we can update this test</pre>
    </blockquote>
    <br>
    Wat?<br>
    <br>
    You get exactly the right message from ipa-replica-install, tested,
    reviewed by several people.<br>
    <blockquote cite="mid:57751347.50908@redhat.com" type="cite">
      <pre wrap="">

</pre>
      <blockquote type="cite">
        <pre wrap="">
You should not use random REALM, in this case you don't test domains but
realms. You can leave the test with incorrect realm there, but as
separated testcase
</pre>
      </blockquote>
      <pre wrap="">
Oh, ok. But it does not seem possible to setup client providing only
--realm without --domain: installer would not do it.

</pre>
    </blockquote>
    <br>
    Try to read again: "should not use *random* REALM". Nothing prevents
    you to use, --realm=TEST.REALM --domain=random-blah-domain<br>
    <blockquote cite="mid:57751347.50908@redhat.com" type="cite">
      <pre wrap="">

</pre>
      <blockquote type="cite">
        <pre wrap="">
Martin^2


</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    NACK<br>
    <br>
    +    domain_name = 'exxample.test'<br>
    +    realm_name = domain_name.upper()<br>
    <br>
    you still use random realm name, and you still don't test
    ipa-replica-install, that ticket has nothing related to domain in
    ipa-client-install, it is related to replica promotion<br>
    <br>
    Martin^2<br>
  </body>
</html>