<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    Thank you. Kerberos connector would be a nice addition to
    ConnId-compatible connector collection.<br>
    <br>
    I agree that the paging behavior is quite strange. It is partially
    given by the fact that there is no count() operation in ConnId.
    However, the GUI frameworks need to know the number of all entries
    in the search to correctly display the paging information.
    Particularly Wicket framework expect two separate operations: count
    and search. But that is not the case with ConnId. The paging
    mechanism in ConnId allows to pass the information about the number
    of entries as a product of the search. Hence two search operations.
    First one is used to get the number of all results, second one is
    used to get the actual results for the displayed page.<br>
    <br>
    This is not ideal. And obviously it can be improved. We can improve
    that both on GUI (wicket) side in also in ConnId framework. However,
    we need funding for this work. As nobody has sponsored it yet and no
    major subscriber has raised this issue, this improvement is not yet
    planned. If you are considering sponsoring or subscription please do
    not hesitate to contact us.<br>
    <br>
    BTW, if I remember correctly then ConnId offset starts at 1, not 0.
    Therefore offset=1 means request to return the entries from the
    beginning.<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Radovan Semancik
Software Architect
evolveum.com
</pre>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 04/11/2017 01:51 PM, František
      Dvořák wrote:<br>
    </div>
    <blockquote cite="mid:1491911483.31184.11.camel@civ.zcu.cz"
      type="cite">
      <pre wrap="">Hello,

we're writing a connector at University of West Bohemia: native
Kerberos connector based on JNI using MIT Kerberos 5 Admin library:

  <a class="moz-txt-link-freetext" href="https://github.com/CESNET/kerberos-connector">https://github.com/CESNET/kerberos-connector</a>

It is working quite good already. We don't have it in production
though, and haven't made any release yet.

I would like to ask about the paging support and executeQuery(). It
seems it behaves quite strangely (using "Accounts" -> "Resouce" in
resource details):

* there are always two queries
* initial query asks for page of size 1
* subsequent query asks for the rest of the page, with offset 1
* midPoint GUI swallows the first identity and shows only the
identities from the second query

Logs attached.

Is there a bug in the connector code? The main connector class is
located here: [1]

The reconciliation seems work fine (the search without paging).

Thank you,
  Frantisek

[1] <a class="moz-txt-link-freetext" href="https://github.com/CESNET/kerberos-connector/blob/master/src/main/java/cz/zcu/KerberosConnector.java">https://github.com/CESNET/kerberos-connector/blob/master/src/main/java/cz/zcu/KerberosConnector.java</a></pre>
      <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>
  </body>
</html>