<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 01/04/2011 10:30 AM, Pavel Zuna wrote:
    <blockquote cite="mid:4D233D21.6040900@redhat.com" type="cite">This
      is required for effective filtering of enrollments search
      <br>
      results in the webUI and also gives an edge to the CLI.
      <br>
      <br>
      After this patch, each LDAPObject can define its relationships
      <br>
      to other LDAPObjects. For now, this is used only for filtering
      <br>
      search results by enrollments, but there are probably more
      <br>
      benefits to come.
      <br>
      <br>
      You can do this for example:
      <br>
      <br>
      # search for all users not enrolled in group admins
      <br>
      ipa user-find --not-in-groups=admins
      <br>
      <br>
      # search for all groups not enrolled in group global with user
      Pavel
      <br>
      ipa group-find --users=Pavel --not-in-groups=global
      <br>
      <br>
      # more examples:
      <br>
      ipa group-find --users=Pavel,Jakub --no-users=Honza
      <br>
      ipa hostgroup-find --hosts=webui.pzuna
      <br>
      <br>
      Pavel
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
    </blockquote>
    Nack, as is we lose all of the associations for users.<br>
    <br>
    I suspect the changes to baseldap are safe, but can you explain why
    that is the case?<br>
    <br>
    Haven't noticed any other shortcomings.<br>
  </body>
</html>