<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 03/04/2015 10:53 AM, Noriko Hosoi
      wrote:<br>
    </div>
    <blockquote cite="mid:54F754B5.5020603@redhat.com" type="cite">Well,
      it is an error message issue... You cannot "delete" your suffix. 
    </blockquote>
    Sorry, please iignore this statement.  I could delete it.  Continue
    investigating...<br>
    <br>
    BTW, could you run this command line again replacing  num<font
      color="#ff0000"><b>b</b></font>subordinates
    with <b>numsubordinates</b>?<br>
    &gt; ldapsearch -D "cn=Directory Manager" -b
    "dc=test,dc=mydomain,dc=tld" -W "(objectclass=*)" <b>numsubordinates
    </b><br>
    <br>
    Thanks,<br>
    --noriko<br>
    <blockquote cite="mid:54F754B5.5020603@redhat.com" type="cite">To do
      so, you need to delete the backend togather.
      <br>
      <br>
      $ ldapsearch -LLLx ... -b "dc=example,dc=com" -s base
      "(objectclass=*)" dn
      <br>
      dn: dc=example,dc=com
      <br>
      <br>
      $ ldapdelete -x ...
      <br>
      dc=example,dc=com
      <br>
      ldap_delete: Operation not allowed on non-leaf (66)
      <br>
      <br>
      <br>
      On 03/04/2015 03:50 AM, Christian Katterl wrote:
      <br>
      <blockquote type="cite">Hi,
        <br>
        <br>
        ldapsearch -D "cn=Directory Manager" -b
        "dc=test,dc=mydomain,dc=tld" "(objectclass=nsTombstone)" -W
        <br>
        <br>
        # extended LDIF
        <br>
        #
        <br>
        # LDAPv3
        <br>
        # base &lt;dc=test,dc=mydomain,dc=tld&gt; with scope subtree
        <br>
        # filter: (objectclass=nsTombstone)
        <br>
        # requesting: ALL
        <br>
        #
        <br>
        <br>
        # search result
        <br>
        search: 2
        <br>
        result: 0 Success
        <br>
        <br>
        # numResponses: 1
        <br>
        <br>
        <br>
        and...
        <br>
        <br>
        ldapsearch -D "cn=Directory Manager" -b
        "dc=test,dc=mydomain,dc=tld" -W "(objectclass=*)"
        numbsubordinates
        <br>
        <br>
        # extended LDIF
        <br>
        #
        <br>
        # LDAPv3
        <br>
        # base &lt;dc=test,dc=mydomain,dc=tld&gt; with scope subtree
        <br>
        # filter: (objectclass=*)
        <br>
        # requesting: numbsubordinates
        <br>
        #
        <br>
        <br>
        # test.mydomain.tld
        <br>
        dn: dc=test,dc=mydomain,dc=tld
        <br>
        <br>
        # search result
        <br>
        search: 2
        <br>
        result: 0 Success
        <br>
        <br>
        # numResponses: 2
        <br>
        # numEntries: 1
        <br>
        <br>
        <br>
        BR, Christian
        <br>
        <br>
        <br>
        <br>
        <br>
        Am 04.03.2015 11:59, schrieb German Parente:
        <br>
        <blockquote type="cite">Hi Christian,
          <br>
          <br>
          there has been a bug fixed for your issue but in release
          1.2.11.15-34.
          <br>
          <br>
          <a class="moz-txt-link-freetext" href="https://fedorahosted.org/389/ticket/47367">https://fedorahosted.org/389/ticket/47367</a>
          <br>
          <br>
          <br>
          Could you do this query ?
          <br>
          <br>
          ldapsearch -D "cn=Directory Manager" -b
          "dc=test,dc=mydomain,dc=tld"
          <br>
          "(objectclass=nsTombstone)" -W
          <br>
          <br>
          and also
          <br>
          <br>
          ldapsearch -D "cn=Directory Manager" -b
          "dc=test,dc=mydomain,dc=tld"
          <br>
          -W "(objectclass=*)" numbsubordinates
          <br>
          <br>
          ?
          <br>
          <br>
          Thanks and regards,
          <br>
          <br>
          German.
          <br>
          <br>
          <br>
          <br>
          ----- Original Message -----
          <br>
          <blockquote type="cite">From: "Christian Katterl"
            <a class="moz-txt-link-rfc2396E" href="mailto:christian@katterl.eu">&lt;christian@katterl.eu&gt;</a>
            <br>
            To: <a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
            <br>
            Sent: Wednesday, 4 March, 2015 9:30:39 AM
            <br>
            Subject: [389-users] Cannot delete domain
            <br>
            <br>
            Dear all,
            <br>
            <br>
            I am using 389-ds version 1.2.11.30-1 (shipped with kolab).
            <br>
            Trying to delete a domain gives the following error:
            ldap_delete:
            <br>
            Operation not allowed on non-leaf (66)
            <br>
            <br>
            Is this a (known) bug, or am I doing something wrong?
            <br>
            <br>
            I tried to delete the domain using:
            <br>
            ldapdelete -c -x -D "cn=Directory Manager" -W -r
            <br>
            "dc=test,dc=mydomain,dc=tld"
            <br>
            <br>
            When I am looking for entries, there seems to be no
            remaining element:
            <br>
            <br>
            ldapsearch -D "cn=Directory Manager" -b
            "dc=test,dc=mydomain,dc=tld"
            <br>
            "(objectclass=*)" -W
            <br>
            <br>
            # extended LDIF
            <br>
            #
            <br>
            # LDAPv3
            <br>
            # base &lt;dc=test,dc=mydomain,dc=tld&gt; with scope subtree
            <br>
            # filter: (objectclass=*)
            <br>
            # requesting: ALL
            <br>
            #
            <br>
            <br>
            # test.mydomain.tld
            <br>
            dn: dc=test,dc=mydomain,dc=tld
            <br>
            dc: test
            <br>
            objectClass: top
            <br>
            objectClass: domain
            <br>
            <br>
            # search result
            <br>
            search: 2
            <br>
            result: 0 Success
            <br>
            <br>
            # numResponses: 2
            <br>
            # numEntries: 1
            <br>
            <br>
            I replaced my real domain-name with test.mydomain.tld
            <br>
            <br>
            The installation is a single ldap-host with no
            synchronization or so...
            <br>
            Can anyone help?
            <br>
            <br>
            BR, Christian
            <br>
            -- <br>
            389 users mailing list
            <br>
            <a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
            <br>
            <a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a>
            <br>
          </blockquote>
          -- <br>
          389 users mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
          <br>
          <a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a>
          <br>
        </blockquote>
        -- <br>
        389 users mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a>
        <br>
      </blockquote>
      <br>
      --
      <br>
      389 users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
    </blockquote>
    <br>
  </body>
</html>